explorerframe/tests: Don't compare potentially uninitialized variables (Coverity).

This commit is contained in:
Paul Vriens 2011-02-01 14:46:14 +01:00 committed by Alexandre Julliard
parent 37af4c371b
commit fd2bf1fae1
1 changed files with 2 additions and 1 deletions

View File

@ -811,7 +811,6 @@ static void test_basics(void)
} }
ILFree(pidl_desktop); ILFree(pidl_desktop);
} }
ok(psidesktop != psidesktop2, "psidesktop == psidesktop2\n");
IShellFolder_Release(psfdesktop); IShellFolder_Release(psfdesktop);
if(FAILED(hr)) if(FAILED(hr))
@ -820,6 +819,8 @@ static void test_basics(void)
return; return;
} }
ok(psidesktop != psidesktop2, "psidesktop == psidesktop2\n");
CreateFilesFolders(); CreateFilesFolders();
GetCurrentDirectoryW(MAX_PATH, curdirW); GetCurrentDirectoryW(MAX_PATH, curdirW);
ok(lstrlenW(curdirW), "Got 0 length string.\n"); ok(lstrlenW(curdirW), "Got 0 length string.\n");