Parcourir la source

Avoid unused variable warning

bel il y a 10 ans
Parent
commit
e5e516d1dd
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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;
 }