Fixed warning about unused variable.
authorSam Lantinga <slouken@libsdl.org>
Thu, 27 Jun 2013 11:17:48 -0700
changeset 7320 314c488ab516
parent 7319 8bdc5aac93d7
child 7321 46de847fef38
Fixed warning about unused variable.
src/haptic/windows/SDL_syshaptic.c
--- a/src/haptic/windows/SDL_syshaptic.c	Thu Jun 27 10:59:30 2013 -0700
+++ b/src/haptic/windows/SDL_syshaptic.c	Thu Jun 27 11:17:48 2013 -0700
@@ -637,7 +637,7 @@
 int
 SDL_SYS_HapticOpenFromJoystick(SDL_Haptic * haptic, SDL_Joystick * joystick)
 {
-    int i, ret;
+    int i;
     HRESULT idret;
     DIDEVICEINSTANCE joy_instance;
     joy_instance.dwSize = sizeof(DIDEVICEINSTANCE);