Module: wine Branch: master Commit: 73e5347739ee2043be641159aa34cc2079773794 URL: https://source.winehq.org/git/wine.git/?a=commit;h=73e5347739ee2043be641159a...
Author: Michael Stefaniuc mstefani@winehq.org Date: Fri Mar 8 21:16:50 2019 +0100
wininet: Remove redundant not-NULL check (coccinellery).
Signed-off-by: Michael Stefaniuc mstefani@winehq.org Signed-off-by: Alexandre Julliard julliard@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; }