shell32: Simplify conditional expression (PVS-Studio).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2015-10-15 12:37:10 +03:00 committed by Alexandre Julliard
parent feb607ecf6
commit 5853e7769c

View file

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