From 1b4f132284ea73ba9bf59c123143bcf1d1622284 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 12 Dec 2014 19:09:48 +0100 Subject: [PATCH] miniupnpc-libevent: "fix" debug_printf() if DEBUG not defined. --- miniupnpc-libevent/miniupnpc-libevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniupnpc-libevent/miniupnpc-libevent.c b/miniupnpc-libevent/miniupnpc-libevent.c index 2ab06ff..12ff33b 100644 --- a/miniupnpc-libevent/miniupnpc-libevent.c +++ b/miniupnpc-libevent/miniupnpc-libevent.c @@ -62,7 +62,7 @@ #ifdef DEBUG #define debug_printf(...) fprintf(stderr, __VA_ARGS__) #else -#define debug_printf(...) +#define debug_printf(...) (void) #endif /* compare the begining of a string with a constant string */