]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
unit2600: avoid error: ‘TEST_CASES’ defined but not used
authorDaniel Stenberg <daniel@haxx.se>
Tue, 31 Jan 2023 13:41:15 +0000 (14:41 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 31 Jan 2023 17:20:13 +0000 (18:20 +0100)
Follow-up to d55de24dce9d51

Closes #10379

tests/unit/unit2600.c

index 72b8eb0c60d54e4b9104f269fefe1f60d0711290..66e9cd9d471ef7d2df90ca15cc8f621a707c8dc2 100644 (file)
@@ -352,7 +352,9 @@ UNITTEST_START
   for(i = 0; i < sizeof(TEST_CASES)/sizeof(TEST_CASES[0]); ++i) {
     test_connect(&TEST_CASES[i]);
   }
-
+#else
+  (void)TEST_CASES;
+  (void)test_connect;
 #endif
 
 UNITTEST_STOP