From: Daniel Stenberg Date: Tue, 31 Jan 2023 13:41:15 +0000 (+0100) Subject: unit2600: avoid error: ‘TEST_CASES’ defined but not used X-Git-Tag: curl-7_88_0~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1e8cd52d9f11fdb1743c1077c031eb723d184b8;p=thirdparty%2Fcurl.git unit2600: avoid error: ‘TEST_CASES’ defined but not used Follow-up to d55de24dce9d51 Closes #10379 --- diff --git a/tests/unit/unit2600.c b/tests/unit/unit2600.c index 72b8eb0c60..66e9cd9d47 100644 --- a/tests/unit/unit2600.c +++ b/tests/unit/unit2600.c @@ -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