From 0e8ad3019a325637b682a376be70e29f00736463 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 7 Feb 2007 13:29:30 +0100 Subject: [PATCH] wininet/ftp: Remove unneeded (double) checks. --- dlls/wininet/ftp.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index b26350f5787..2f8483864f6 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -425,12 +425,6 @@ BOOL WINAPI FTP_FtpSetCurrentDirectoryW(LPWININETFTPSESSIONW lpwfs, LPCWSTR lpsz TRACE("lpszDirectory(%s)\n", debugstr_w(lpszDirectory)); - if (NULL == lpwfs || WH_HFTPSESSION != lpwfs->hdr.htype) - { - INTERNET_SetLastError(ERROR_INTERNET_INCORRECT_HANDLE_TYPE); - return FALSE; - } - /* Clear any error information */ INTERNET_SetLastError(0); -- 2.11.4.GIT