From: Tyson Whitehead <twhitehead(a)gmail.com> --- dlls/joy.cpl/dinput.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/joy.cpl/dinput.c b/dlls/joy.cpl/dinput.c index f090abba3fd..071147f4d4b 100644 --- a/dlls/joy.cpl/dinput.c +++ b/dlls/joy.cpl/dinput.c @@ -232,7 +232,6 @@ static IDirectInputDevice8W *get_selected_device(void) static BOOL CALLBACK enum_devices( const DIDEVICEINSTANCEW *instance, void *context ) { - DIDEVCAPS caps = {.dwSize = sizeof(DIDEVCAPS)}; IDirectInput8W *dinput = context; struct device *entry; @@ -240,7 +239,6 @@ static BOOL CALLBACK enum_devices( const DIDEVICEINSTANCEW *instance, void *cont IDirectInput8_CreateDevice( dinput, &instance->guidInstance, &entry->device, NULL ); IDirectInputDevice8_SetDataFormat( entry->device, &c_dfDIJoystick2 ); - IDirectInputDevice8_GetCapabilities( entry->device, &caps ); list_add_tail( &devices, &entry->entry ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8775