summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}