Michael Stefaniuc : shell32: Remove redundant "not NULL" check of ppidl ( coccicheck).

Alexandre Julliard julliard at winehq.org
Tue May 18 12:32:57 CDT 2010


Module: wine
Branch: master
Commit: f8bac981960fca46dc548e4c7c2d5d84ffeadf45
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f8bac981960fca46dc548e4c7c2d5d84ffeadf45

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue May 18 01:31:40 2010 +0200

shell32: Remove redundant "not NULL" check of ppidl (coccicheck).

---

 dlls/shell32/shfldr_fs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/shfldr_fs.c b/dlls/shell32/shfldr_fs.c
index 091c1e0..626f17f 100644
--- a/dlls/shell32/shfldr_fs.c
+++ b/dlls/shell32/shfldr_fs.c
@@ -431,7 +431,7 @@ IShellFolder_fnParseDisplayName (IShellFolder2 * iface,
     else
         *ppidl = NULL;
 
-    TRACE ("(%p)->(-- pidl=%p ret=0x%08x)\n", This, ppidl ? *ppidl : 0, hr);
+    TRACE ("(%p)->(-- pidl=%p ret=0x%08x)\n", This, *ppidl, hr);
 
     return hr;
 }




More information about the wine-cvs mailing list