[wininet/ftp.c 7/9] Remove unneeded (double) checks
Paul Vriens
paul.vriens.wine at gmail.com
Wed Feb 7 06:30:51 CST 2007
Hi,
There is no need for this check in FTP_FtpDeleteFileW as it's already
done in FtpDeleteFileW.
Changelog
Remove unneeded (double) checks
Cheers,
Paul
-------------- next part --------------
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index ae3b0dd..bd4064a 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -1422,8 +1422,6 @@ BOOL FTP_FtpDeleteFileW(LPWININETFTPSESSIONW lpwfs, LPCWSTR lpszFileName)
TRACE("%p\n", lpwfs);
- assert (WH_HFTPSESSION == lpwfs->hdr.htype);
-
/* Clear any error information */
INTERNET_SetLastError(0);
--
1.4.4.4
More information about the wine-patches
mailing list