--- a/src/joystick/windows/SDL_dxjoystick.c Tue Nov 27 01:07:44 2012 -0800
+++ b/src/joystick/windows/SDL_dxjoystick.c Tue Nov 27 01:09:18 2012 -0800
@@ -524,7 +524,6 @@
static int
SDL_JoystickThread(void *_data)
{
- int nDevicesLast = 0;
HRESULT result = S_OK;
HWND messageWindow = 0;
HDEVNOTIFY hNotify = 0;
@@ -570,8 +569,6 @@
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;