mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 13:04:24 +00:00
wininet: Avoid dead code in FTP_FtpOpenFileW (Coverity).
This commit is contained in:
parent
8842cd13a1
commit
39d378538d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue