From: Viktor Szakats Date: Wed, 31 Dec 2025 16:12:16 +0000 (+0100) Subject: tests: drop redundant parenthesis from two macro expressions X-Git-Tag: curl-8_18_0~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ca678472fb548b130fa96a77bc4ac1b8f918a4b;p=thirdparty%2Fcurl.git tests: drop redundant parenthesis from two macro expressions Closes #20136 --- diff --git a/tests/libtest/first.h b/tests/libtest/first.h index 3a3af63c16..1c8217ed82 100644 --- a/tests/libtest/first.h +++ b/tests/libtest/first.h @@ -144,7 +144,7 @@ void ws_close(CURL *curl); #define exe_easy_init(A, Y, Z) \ do { \ - if(((A) = curl_easy_init()) == NULL) { \ + if((A = curl_easy_init()) == NULL) { \ curl_mfprintf(stderr, "%s:%d curl_easy_init() failed\n", Y, Z); \ result = TEST_ERR_EASY_INIT; \ } \ @@ -167,7 +167,7 @@ void ws_close(CURL *curl); #define exe_multi_init(A, Y, Z) \ do { \ - if(((A) = curl_multi_init()) == NULL) { \ + if((A = curl_multi_init()) == NULL) { \ curl_mfprintf(stderr, "%s:%d curl_multi_init() failed\n", Y, Z); \ result = TEST_ERR_MULTI; \ } \