mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:01:41 +03:00
tests: drop redundant parenthesis from two macro expressions
Closes #20136
This commit is contained in:
parent
e4f4eeb0c5
commit
1ca678472f
1 changed files with 2 additions and 2 deletions
|
|
@ -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; \
|
||||
} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue