dsound: Do not test undefined behaviour (Coverity).

This commit is contained in:
Marcus Meissner 2013-05-09 13:08:45 +02:00 committed by Alexandre Julliard
parent 661bbbd068
commit 81ea726e64
1 changed files with 0 additions and 6 deletions

View File

@ -1578,12 +1578,6 @@ START_TEST(dsound)
ret = FreeLibrary(hDsound);
ok( ret, "FreeLibrary(1) returned %d\n", GetLastError());
SetLastError(0xdeadbeef);
ret = FreeLibrary(hDsound);
ok( ret ||
broken(!ret && GetLastError() == ERROR_MOD_NOT_FOUND), /* NT4 */
"FreeLibrary(2) returned %d\n", GetLastError());
ok(!FreeLibrary(hDsound), "DirectSound DLL still loaded\n");
}
hDsound = LoadLibrary("dsound.dll");