wininet/ftp: Remove unneeded (double) checks.

This commit is contained in:
Paul Vriens 2007-02-07 13:29:30 +01:00 committed by Alexandre Julliard
parent b6bf3d9c1d
commit 0e8ad3019a

View file

@ -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);