[PATCH] wininet: Remove redundant not-NULL check (coccinellery)
8 Mar
2019
8 Mar
'19
8:16 p.m.
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> --- return NULL if lpwfs is NULL. 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 e12e494160..ec94f85723 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; } -- 2.20.1
2562
Age (days ago)
2562
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Stefaniuc