Explorar o código

Avoid unused variable warning

bel %!s(int64=10) %!d(string=hai) anos
pai
achega
e5e516d1dd
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/civetweb.c

+ 2 - 0
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;
 }