From 54fb1f3810de177531353af3af58a7ea3de0ca9a Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sun, 31 Jul 2016 22:08:20 +0200 Subject: test: fix warnings about unused parameters --- test/call.c | 1 + test/mock/mock_ausrc.c | 1 + 2 files changed, 2 insertions(+) diff --git a/test/call.c b/test/call.c index 8495761..cf17bb0 100644 --- a/test/call.c +++ b/test/call.c @@ -595,6 +595,7 @@ static void dtmf_handler(struct call *call, char key, void *arg) { struct agent *ag = arg; int err = 0; + (void)call; /* ignore key-release */ if (key == 0) diff --git a/test/mock/mock_ausrc.c b/test/mock/mock_ausrc.c index 8e29dbf..297e018 100644 --- a/test/mock/mock_ausrc.c +++ b/test/mock/mock_ausrc.c @@ -48,6 +48,7 @@ static int mock_ausrc_alloc(struct ausrc_st **stp, const struct ausrc *as, struct ausrc_st *st; int err = 0; (void)ctx; + (void)device; (void)errh; if (!stp || !as || !prm) -- cgit v1.2.3