wininet: Avoid dead code in FTP_FtpOpenFileW (Coverity).

This commit is contained in:
Frédéric Delanoy 2012-01-25 23:52:02 +01:00 committed by Alexandre Julliard
parent 8842cd13a1
commit 39d378538d

View file

@ -1425,11 +1425,8 @@ static HINTERNET FTP_FtpOpenFileW(ftp_session_t *lpwfs,
}
}
if(!bSuccess) {
if(lpwh)
WININET_Release( &lpwh->hdr );
if(!bSuccess)
return FALSE;
}
return lpwh->hdr.hInternet;
}