diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-01-31 14:41:15 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-01-31 18:20:13 +0100 |
commit | b1e8cd52d9f11fdb1743c1077c031eb723d184b8 (patch) | |
tree | eace523492247509e8a670cf69cb65c52b3896ff | |
parent | f1f8acb3b940327fcd7268404595cdcfc08185de (diff) | |
download | curl-b1e8cd52d9f11fdb1743c1077c031eb723d184b8.tar.gz |
unit2600: avoid error: ‘TEST_CASES’ defined but not used
Follow-up to d55de24dce9d51
Closes #10379
-rw-r--r-- | tests/unit/unit2600.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/unit2600.c b/tests/unit/unit2600.c index 72b8eb0c6..66e9cd9d4 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 |