Browse Source

Avoid unused variable warning

bel 10 năm trước cách đây
mục cha
commit
e5e516d1dd
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;
 }