- Silence annoying "Empty path passed" error.

- Set error correctly when an empty path is passed to DeleteFile.
This commit is contained in:
Ryan Cumming 2002-11-08 18:52:18 +00:00 committed by Alexandre Julliard
parent 1bc18f3da7
commit 768d98e7e9

View file

@ -2397,7 +2397,8 @@ BOOL WINAPI DeleteFileW( LPCWSTR path )
if (!*path)
{
ERR("Empty path passed\n");
WARN("Empty path passed\n");
SetLastError( ERROR_FILE_NOT_FOUND );
return FALSE;
}
if (DOSFS_GetDevice( path ))