[wininet/ftp.c 5/9] Remove unneeded (double) checks
Paul Vriens
paul.vriens.wine at gmail.com
Wed Feb 7 06:30:21 CST 2007
Hi,
There is no need for this check in FTP_FtpOpenFileW as it's already
done in FtpOpenFileW.
Changelog
Remove unneeded (double) checks
Cheers,
Paul
-------------- next part --------------
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index 0ab18c4..66f73eb 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -1062,8 +1062,6 @@ HINTERNET FTP_FtpOpenFileW(LPWININETFTPSESSIONW lpwfs,
TRACE("\n");
- 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