mirror of
https://github.com/curl/curl.git
synced 2026-07-31 12:28:18 +03:00
build: fix "clarify calculation precedence" warnings
Codacy/CppCheck warns about this. Consistently use parentheses as we already do in some places to silence the warning. Closes https://github.com/curl/curl/pull/3866
This commit is contained in:
parent
5f8b9fe81d
commit
6b3dde7fe6
7 changed files with 15 additions and 13 deletions
|
|
@ -451,8 +451,8 @@ static int events_socket(struct Curl_easy *easy, /* easy handle */
|
|||
m->socket.revents = 0;
|
||||
ev->list = m;
|
||||
infof(easy, "socket cb: socket %d ADDED as %s%s\n", s,
|
||||
what&CURL_POLL_IN?"IN":"",
|
||||
what&CURL_POLL_OUT?"OUT":"");
|
||||
(what&CURL_POLL_IN)?"IN":"",
|
||||
(what&CURL_POLL_OUT)?"OUT":"");
|
||||
}
|
||||
else
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue