summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-07-31 22:08:20 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-07-31 22:08:20 +0200
commit54fb1f3810de177531353af3af58a7ea3de0ca9a (patch)
treec181ed700d11f0374e8a587bc72d9d30b093d109
parent2a2bdca0dd643b88a538b9b0f37c85ea79df1ddd (diff)
test: fix warnings about unused parameters
-rw-r--r--test/call.c1
-rw-r--r--test/mock/mock_ausrc.c1
2 files changed, 2 insertions, 0 deletions
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)