mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
wininet: Avoid dead code in FTP_FtpOpenFileW (Coverity).
This commit is contained in:
parent
8842cd13a1
commit
39d378538d
1 changed files with 1 additions and 4 deletions
|
@ -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