dinput/tests: Remove unrequired if (Coverity).

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Alistair Leslie-Hughes 2019-05-26 22:49:21 +00:00 committed by Alexandre Julliard
parent c340890146
commit 87a8622ffe
2 changed files with 2 additions and 2 deletions

View File

@ -479,7 +479,7 @@ static void test_GetDeviceInfo(IDirectInputA *pDI)
wine_dbgstr_guid(&instA.guidProduct), wine_dbgstr_guid(&inst3A.guidProduct) );
ok(instA.dwDevType == inst3A.dwDevType, "got %d, %d\n", instA.dwDevType, inst3A.dwDevType);
if (pKey) IUnknown_Release(pKey);
IUnknown_Release(pKey);
}
static void keyboard_tests(DWORD version)

View File

@ -224,7 +224,7 @@ static void test_GetDeviceInfo(IDirectInputA *pDI)
wine_dbgstr_guid(&instA.guidProduct), wine_dbgstr_guid(&inst3A.guidProduct) );
ok(instA.dwDevType == inst3A.dwDevType, "got %d, %d\n", instA.dwDevType, inst3A.dwDevType);
if (pMouse) IUnknown_Release(pMouse);
IUnknown_Release(pMouse);
}
static BOOL CALLBACK EnumAxes(const DIDEVICEOBJECTINSTANCEA *pdidoi, void *pContext)