From e5e516d1dd2da848d959d3e9e140f05eb8bc425b Mon Sep 17 00:00:00 2001 From: bel Date: Sun, 16 Aug 2015 12:15:26 +0200 Subject: [PATCH] Avoid unused variable warning --- src/civetweb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/civetweb.c b/src/civetweb.c index c8793de7..a179a9c7 100755 --- a/src/civetweb.c +++ b/src/civetweb.c @@ -3077,6 +3077,8 @@ static int push(struct mg_context *ctx, } } while ((timeout <= 0) || (mg_difftimespec(&now, &start) <= timeout)); + (void)err; /* Avoid unused warning if NO_SSL is set and DEBUG_TRACE is not used */ + return -1; }