Michael Stefaniuc : wininet: Remove redundant not-NULL check (coccinellery ).
Alexandre Julliard
julliard at winehq.org
Fri Mar 8 19:41:10 CST 2019
Module: wine
Branch: master
Commit: 73e5347739ee2043be641159aa34cc2079773794
URL: https://source.winehq.org/git/wine.git/?a=commit;h=73e5347739ee2043be641159aa34cc2079773794
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Fri Mar 8 21:16:50 2019 +0100
wininet: Remove redundant not-NULL check (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wininet/ftp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index e12e494..ec94f85 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -2581,8 +2581,7 @@ HINTERNET FTP_Connect(appinfo_t *hIC, LPCWSTR lpszServerName,
lerror:
if (!bSuccess)
{
- if(lpwfs)
- WININET_Release( &lpwfs->hdr );
+ WININET_Release(&lpwfs->hdr);
return NULL;
}
More information about the wine-cvs
mailing list