Fixed compiler warnings
authorSam Lantinga <slouken@libsdl.org>
Tue, 27 Nov 2012 01:09:18 -0800
changeset 67093b43d3a9b7d5
parent 6708 1fa41febb331
child 6710 e650705e2c1d
Fixed compiler warnings
src/joystick/windows/SDL_dxjoystick.c
     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;