From fc014893135745c1be33370ab27d0562ada68fa9 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 27 Nov 2012 01:09:18 -0800 Subject: [PATCH] Fixed compiler warnings --- src/joystick/windows/SDL_dxjoystick.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/joystick/windows/SDL_dxjoystick.c b/src/joystick/windows/SDL_dxjoystick.c index df1a8f44b..f1df40730 100644 --- a/src/joystick/windows/SDL_dxjoystick.c +++ b/src/joystick/windows/SDL_dxjoystick.c @@ -524,7 +524,6 @@ DEFINE_GUID(GUID_DEVINTERFACE_USB_DEVICE, 0xA5DCBF10L, 0x6530, 0x11D2, 0x90, 0x1 static int SDL_JoystickThread(void *_data) { - int nDevicesLast = 0; HRESULT result = S_OK; HWND messageWindow = 0; HDEVNOTIFY hNotify = 0; @@ -570,8 +569,6 @@ SDL_JoystickThread(void *_data) if ( s_pKnownJoystickGUIDs && s_bWindowsDeviceChanged ) { - int nDevices = 0; - SDL_Delay( 300 ); // wait for direct input to find out about this device s_bDeviceRemoved = SDL_TRUE;