[PATCH] explorer: remove usesless array NULL check (Coverity)

Marcus Meissner marcus at jet.franken.de
Tue Jun 28 01:31:31 CDT 2011


CID 5181

Ciao, Marcus
---
 programs/explorer/explorer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c
index d04457b..419c306 100644
--- a/programs/explorer/explorer.c
+++ b/programs/explorer/explorer.c
@@ -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(strlenW(params->root)==0)
     {
         return desktop;
     }
-- 
1.7.3.4




More information about the wine-patches mailing list