wininet: Remove redundant not-NULL check (coccinellery).

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-03-08 21:16:50 +01:00 committed by Alexandre Julliard
parent 3908142028
commit 73e5347739
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}