From 6b3dde7fe62ea5a557fd1fd323fac2bcd0c2e9be Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Sat, 11 May 2019 14:51:24 +0200 Subject: 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 --- lib/multi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/multi.c') diff --git a/lib/multi.c b/lib/multi.c index 631887bfc..71217989b 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -3056,8 +3056,8 @@ void Curl_multi_dump(struct Curl_multi *multi) continue; } fprintf(stderr, "[%s %s] ", - entry->action&CURL_POLL_IN?"RECVING":"", - entry->action&CURL_POLL_OUT?"SENDING":""); + (entry->action&CURL_POLL_IN)?"RECVING":"", + (entry->action&CURL_POLL_OUT)?"SENDING":""); } if(data->numsocks) fprintf(stderr, "\n"); -- cgit v1.2.3