X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fevent.c;fp=src%2Fevent.c;h=54d696582f237711f796c7abdad2eee809029276;hb=f79cc0e0bba16a3aa42a5fa13098cda714623205;hp=6ca44d4898aa8d8110d728a2316a89d44fc39505;hpb=b95becf1382a6e194b7b4e867a4f808440ad0ff9;p=meshlink diff --git a/src/event.c b/src/event.c index 6ca44d48..54d69658 100644 --- a/src/event.c +++ b/src/event.c @@ -1,6 +1,6 @@ /* event.c -- I/O, timeout and signal event handling - Copyright (C) 2014 Guus Sliepen + Copyright (C) 2014-2017 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -133,6 +133,8 @@ static int signal_compare(const signal_t *a, const signal_t *b) { } static void signalio_handler(event_loop_t *loop, void *data, int flags) { + (void)data; + (void)flags; unsigned char signum; if(read(loop->pipefd[0], &signum, 1) != 1) return;