Nikolay Sivov : shell32: Simplify conditional expression (PVS-Studio).
Module: wine Branch: master Commit: 5853e7769c4d4e0546f017d21e634a6b22add183 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5853e7769c4d4e0546f017d21e... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Thu Oct 15 12:37:10 2015 +0300 shell32: Simplify conditional expression (PVS-Studio). Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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
participants (1)
-
Alexandre Julliard