Hans Leidekker : winhttp: Remove redundant parentheses.

Alexandre Julliard julliard at winehq.org
Tue Jun 8 16:34:26 CDT 2021


Module: wine
Branch: master
Commit: ed9c1fb1b9d2fb2007af0d3f2df96298850ebf34
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ed9c1fb1b9d2fb2007af0d3f2df96298850ebf34

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Jun  8 16:27:43 2021 +0200

winhttp: Remove redundant parentheses.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;
 




More information about the wine-cvs mailing list