 
            From: Elizabeth Figura zfigura@codeweavers.com
This was previously used to check if the file was a directory, but that check was moved to the server in 8ca5d4af90e3d8df0cbe188125f1758435f09a9a. --- dlls/kernelbase/file.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/dlls/kernelbase/file.c b/dlls/kernelbase/file.c index 098aec7bda0..aba710263c2 100644 --- a/dlls/kernelbase/file.c +++ b/dlls/kernelbase/file.c @@ -2525,7 +2525,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH MoveFileWithProgressW( const WCHAR *source, const void *param, DWORD flag ) { FILE_RENAME_INFORMATION *rename_info; - FILE_BASIC_INFORMATION info; UNICODE_STRING nt_name; OBJECT_ATTRIBUTES attr; IO_STATUS_BLOCK io; @@ -2553,9 +2552,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH MoveFileWithProgressW( const WCHAR *source, const RtlFreeUnicodeString( &nt_name ); if (!set_ntstatus( status )) goto error;
- status = NtQueryInformationFile( source_handle, &io, &info, sizeof(info), FileBasicInformation ); - if (!set_ntstatus( status )) goto error; - if (!RtlDosPathNameToNtPathName_U( dest, &nt_name, NULL, NULL )) { SetLastError( ERROR_PATH_NOT_FOUND );

