From: Guus Sliepen Date: Thu, 31 Oct 2019 19:42:10 +0000 (+0100) Subject: Avoid compiler warnings when compiling with -DNDEBUG. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=9919d6688b2c79a0da93e3f39eeea2b58e923a1e;p=meshlink Avoid compiler warnings when compiling with -DNDEBUG. --- diff --git a/src/event.c b/src/event.c index 3c2306bd..af1b0d60 100644 --- a/src/event.c +++ b/src/event.c @@ -73,6 +73,7 @@ void io_add(event_loop_t *loop, io_t *io, io_cb_t cb, void *data, int fd, int fl splay_node_t *node = splay_insert_node(&loop->ios, &io->node); assert(node); + (void)node; } void io_set(event_loop_t *loop, io_t *io, int flags) { diff --git a/src/utcp b/src/utcp index eb85ec4a..19f3f446 160000 --- a/src/utcp +++ b/src/utcp @@ -1 +1 @@ -Subproject commit eb85ec4ae5f32102430e0622e3855aaba110c032 +Subproject commit 19f3f4462c52eaa766ab76ce671921f0e4dc4ebd