mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 11:09:02 +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…
Reference in a new issue