Commit 43960563 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

dinput: No need for null ptr check of pKeyboard.

parent 5ae8629f
......@@ -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)
......
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