소스 검색

Avoid unused variable warning

bel 10 년 전
부모
커밋
e5e516d1dd
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;
 }