src/joystick/windows/SDL_dxjoystick.c
changeset 6709 3b43d3a9b7d5
parent 6707 70eeb7e3ec2f
child 6710 e650705e2c1d
     1.1 --- a/src/joystick/windows/SDL_dxjoystick.c	Tue Nov 27 01:07:44 2012 -0800
     1.2 +++ b/src/joystick/windows/SDL_dxjoystick.c	Tue Nov 27 01:09:18 2012 -0800
     1.3 @@ -524,7 +524,6 @@
     1.4  static int
     1.5  SDL_JoystickThread(void *_data)
     1.6  {
     1.7 -	int nDevicesLast = 0;
     1.8  	HRESULT result = S_OK;	
     1.9  	HWND messageWindow = 0;
    1.10  	HDEVNOTIFY hNotify = 0;
    1.11 @@ -570,8 +569,6 @@
    1.12  
    1.13  		if ( s_pKnownJoystickGUIDs && s_bWindowsDeviceChanged )
    1.14  		{
    1.15 -			int nDevices = 0;
    1.16 -
    1.17  			SDL_Delay( 300 ); // wait for direct input to find out about this device
    1.18  
    1.19  			s_bDeviceRemoved = SDL_TRUE;