From 1ca678472fb548b130fa96a77bc4ac1b8f918a4b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 31 Dec 2025 17:12:16 +0100 Subject: [PATCH] tests: drop redundant parenthesis from two macro expressions Closes #20136 --- tests/libtest/first.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; \ } \