[wininet/ftp.c 9/9] Remove unneeded (double) checks

Paul Vriens paul.vriens.wine at gmail.com
Wed Feb 7 06:31:11 CST 2007


Hi,

There is no need for this check in FTP_FtpRenameFileW as it's already
done in FtpRenameFileW.

Changelog
           Remove unneeded (double) checks

Cheers,

Paul





-------------- next part --------------
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index 68c2e4f..4e99dae 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -1685,8 +1685,6 @@ BOOL FTP_FtpRenameFileW( 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