mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
- Silence annoying "Empty path passed" error.
- Set error correctly when an empty path is passed to DeleteFile.
This commit is contained in:
parent
1bc18f3da7
commit
768d98e7e9
1 changed files with 2 additions and 1 deletions
|
@ -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 ))
|
||||
|
|
Loading…
Reference in a new issue