Commit 87a8622f authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

dinput/tests: Remove unrequired if (Coverity).

parent c3408901
...@@ -479,7 +479,7 @@ static void test_GetDeviceInfo(IDirectInputA *pDI) ...@@ -479,7 +479,7 @@ static void test_GetDeviceInfo(IDirectInputA *pDI)
wine_dbgstr_guid(&instA.guidProduct), wine_dbgstr_guid(&inst3A.guidProduct) ); wine_dbgstr_guid(&instA.guidProduct), wine_dbgstr_guid(&inst3A.guidProduct) );
ok(instA.dwDevType == inst3A.dwDevType, "got %d, %d\n", instA.dwDevType, inst3A.dwDevType); 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) static void keyboard_tests(DWORD version)
......
...@@ -224,7 +224,7 @@ static void test_GetDeviceInfo(IDirectInputA *pDI) ...@@ -224,7 +224,7 @@ static void test_GetDeviceInfo(IDirectInputA *pDI)
wine_dbgstr_guid(&instA.guidProduct), wine_dbgstr_guid(&inst3A.guidProduct) ); wine_dbgstr_guid(&instA.guidProduct), wine_dbgstr_guid(&inst3A.guidProduct) );
ok(instA.dwDevType == inst3A.dwDevType, "got %d, %d\n", instA.dwDevType, inst3A.dwDevType); 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) static BOOL CALLBACK EnumAxes(const DIDEVICEOBJECTINSTANCEA *pdidoi, void *pContext)
......
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