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