diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/first.c | 2 | ||||
-rw-r--r-- | tests/libtest/lib500.c | 2 | ||||
-rw-r--r-- | tests/server/getpart.c | 2 | ||||
-rw-r--r-- | tests/unit/curlcheck.h | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/libtest/first.c b/tests/libtest/first.c index f35528f71..d6b486003 100644 --- a/tests/libtest/first.c +++ b/tests/libtest/first.c @@ -83,7 +83,7 @@ static void memory_tracking_init(void) } } #else -# define memory_tracking_init() +# define memory_tracking_init() Curl_nop_stmt #endif int main(int argc, char **argv) diff --git a/tests/libtest/lib500.c b/tests/libtest/lib500.c index 8ebeb1292..51680fc31 100644 --- a/tests/libtest/lib500.c +++ b/tests/libtest/lib500.c @@ -52,7 +52,7 @@ static void setupcallbacks(CURL *curl) } #else -#define setupcallbacks(x) +#define setupcallbacks(x) Curl_nop_stmt #endif diff --git a/tests/server/getpart.c b/tests/server/getpart.c index 2351e1cc3..9384d0cb0 100644 --- a/tests/server/getpart.c +++ b/tests/server/getpart.c @@ -49,7 +49,7 @@ struct SessionHandle { #ifdef DEBUG_GETPART #define show(x) printf x #else -#define show(x) +#define show(x) Curl_nop_stmt #endif #if defined(_MSC_VER) && defined(_DLL) diff --git a/tests/unit/curlcheck.h b/tests/unit/curlcheck.h index 4b4d32c8d..96203e075 100644 --- a/tests/unit/curlcheck.h +++ b/tests/unit/curlcheck.h @@ -49,7 +49,7 @@ fprintf(stderr, "%s:%d test failed: '%s'\n", \ __FILE__, __LINE__, msg); \ unitfail++; \ - } while(0) + } WHILE_FALSE /* The abort macros mark the current test step as failed, and exit the test */ @@ -74,7 +74,7 @@ __FILE__, __LINE__, msg); \ unitfail++; \ goto unit_test_abort; \ - } while(0) + } WHILE_FALSE |