mirror of
https://github.com/reactos/wine.git
synced 2025-02-17 19:39:00 +00:00
explorer: Remove useless array NULL check (Coverity).
This commit is contained in:
parent
ced4c38324
commit
436ec81240
@ -167,7 +167,7 @@ static IShellFolder* get_starting_shell_folder(parameters_struct* params)
|
||||
HRESULT hres;
|
||||
|
||||
SHGetDesktopFolder(&desktop);
|
||||
if(!params->root || (strlenW(params->root)==0))
|
||||
if (!params->root[0])
|
||||
{
|
||||
return desktop;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user