wininet/ftp: Remove unneeded (double) checks.

This commit is contained in:
Paul Vriens 2007-02-07 13:29:51 +01:00 committed by Alexandre Julliard
parent 0e8ad3019a
commit 2831cf5d3e
1 changed files with 0 additions and 6 deletions

View File

@ -556,12 +556,6 @@ BOOL WINAPI FTP_FtpCreateDirectoryW(LPWININETFTPSESSIONW lpwfs, LPCWSTR lpszDire
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);