summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-06-05 17:53:26 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-06-05 17:53:26 +0200
commitfd8b1a624af9d4cc9d9ba7af4b7828dd1cd9b3d1 (patch)
tree913bc04d971011167a9a3f7bb5e0db76aa19f9e7
parent23beca80ead983d7500a9b63b1e420b9185d4b1c (diff)
fix warning about unused arg
-rw-r--r--src/main.c1
-rw-r--r--test/main.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index ca9c9c0..29e4785 100644
--- a/src/main.c
+++ b/src/main.c
@@ -36,6 +36,7 @@ static void signal_handler(int sig)
static void ua_exit_handler(void *arg)
{
+ (void)arg;
debug("ua exited -- stopping main runloop\n");
/* The main run-loop can be stopped now */
diff --git a/test/main.c b/test/main.c
index 955643a..42e381e 100644
--- a/test/main.c
+++ b/test/main.c
@@ -113,6 +113,8 @@ static const struct test *find_test(const char *name)
static void ua_exit_handler(void *arg)
{
+ (void)arg;
+
debug("ua exited -- stopping main runloop\n");
re_cancel();
}