forked from Mirrors/wine-wine
shell32/tests: Remove null check after dereference (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>oldstable
parent
0c9de25955
commit
4270c08cd7
|
@ -1447,11 +1447,8 @@ static void test_SHCreateShellFolderViewEx(void)
|
|||
ok(unk == (IUnknown *)psv, "got %p\n", unk);
|
||||
IUnknown_Release(unk);
|
||||
|
||||
if (psv)
|
||||
{
|
||||
refCount = IShellView_Release(psv);
|
||||
ok(refCount == 0, "refCount = %u\n", refCount);
|
||||
}
|
||||
refCount = IShellView_Release(psv);
|
||||
ok(refCount == 0, "refCount = %u\n", refCount);
|
||||
|
||||
if (0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue