=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: wininet: Avoid dead code in FTP_FtpOpenFileW (Coverity).
Alexandre Julliard
julliard at winehq.org
Thu Jan 26 14:49:25 CST 2012
Module: wine
Branch: master
Commit: 39d378538d8e24f4bd5d75e3752da7ee78731caf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=39d378538d8e24f4bd5d75e3752da7ee78731caf
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Wed Jan 25 23:52:02 2012 +0100
wininet: Avoid dead code in FTP_FtpOpenFileW (Coverity).
---
dlls/wininet/ftp.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index 74316b9..dc5bc12 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -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;
}
More information about the wine-cvs
mailing list