Browse Source

unit_test.c: comment out unused variables

These variables are unused but there is already out commented
code useing them. Keep them until it's decided what happens
with this code.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf 10 years ago
parent
commit
3d00b0940d
1 changed files with 6 additions and 2 deletions
  1. 6 2
      test/unit_test.c

+ 6 - 2
test/unit_test.c

@@ -589,9 +589,13 @@ static int alloc_printf(char **buf, size_t size, char *fmt, ...) {
 static void test_mg_upload(void) {
     static const char *boundary = "OOO___MY_BOUNDARY___OOO";
     struct mg_context *ctx;
+#if 0
     struct mg_connection *conn;
-    char ebuf[100], buf[20], *file_data, *file2_data, *post_data;
-    int file_len, file2_len, post_data_len;
+    char ebuf[100], buf[20], *file2_data;
+    int file2_len;
+#endif
+    char *file_data, *post_data;
+    int file_len post_data_len;
 
     ASSERT((ctx = mg_start(&CALLBACKS, NULL, OPTIONS)) != NULL);