explorer: Remove useless array NULL check (Coverity).

This commit is contained in:
Marcus Meissner 2011-06-28 08:31:31 +02:00 committed by Alexandre Julliard
parent ced4c38324
commit 436ec81240

View file

@ -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;
}