[PATCH 2/3] winhttp: Remove redundant parentheses.

Hans Leidekker hans at codeweavers.com
Tue Jun 8 09:27:43 CDT 2021


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 dlls/winhttp/session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index 1bdf39bca20..005c35dea4c 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -1787,7 +1787,7 @@ static char *download_script( const WCHAR *url, DWORD *out_size )
     if (!(req = WinHttpOpenRequest( con, NULL, uc.lpszUrlPath, NULL, NULL, acceptW, flags ))) goto done;
     if (!WinHttpSendRequest( req, NULL, 0, NULL, 0, 0, 0 )) goto done;
 
-    if (!(WinHttpReceiveResponse( req, 0 ))) goto done;
+    if (!WinHttpReceiveResponse( req, 0 )) goto done;
     if (!WinHttpQueryHeaders( req, WINHTTP_QUERY_STATUS_CODE|WINHTTP_QUERY_FLAG_NUMBER, NULL, &status,
         &size, NULL ) || status != HTTP_STATUS_OK) goto done;
 
-- 
2.30.2




More information about the wine-devel mailing list