Nikolay Sivov : shell32: Simplify conditional expression (PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Oct 15 10:27:59 CDT 2015
Module: wine
Branch: master
Commit: 5853e7769c4d4e0546f017d21e634a6b22add183
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5853e7769c4d4e0546f017d21e634a6b22add183
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Oct 15 12:37:10 2015 +0300
shell32: Simplify conditional expression (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shell32/debughlp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shell32/debughlp.c b/dlls/shell32/debughlp.c
index 3d417f8..a7ae616 100644
--- a/dlls/shell32/debughlp.c
+++ b/dlls/shell32/debughlp.c
@@ -53,7 +53,7 @@ LPCITEMIDLIST _dbg_ILGetNext(LPCITEMIDLIST pidl)
static
BOOL _dbg_ILIsDesktop(LPCITEMIDLIST pidl)
{
- return ( !pidl || (pidl && pidl->mkid.cb == 0x00) );
+ return ( !pidl || pidl->mkid.cb == 0x00 );
}
static
More information about the wine-cvs
mailing list