dinput: No need for null ptr check of pKeyboard.

This commit is contained in:
Marcus Meissner 2012-09-03 19:02:54 +02:00 committed by Alexandre Julliard
parent 5ae8629fca
commit 439605634e
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ static void test_capabilities(LPDIRECTINPUT pDI, HWND hwnd)
ok (LOWORD(HIBYTE(caps.dwDevType)) != DIDEVTYPEKEYBOARD_UNKNOWN,
"GetCapabilities invalid device subtype for dwDevType: 0x%08x\n", caps.dwDevType);
if (pKeyboard) IUnknown_Release(pKeyboard);
IUnknown_Release(pKeyboard);
}
static void keyboard_tests(DWORD version)