Commit 4270c08c authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

shell32/tests: Remove null check after dereference (Coverity).

parent 0c9de259
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment