Commit e6e6613ca41a82bdd919ddde869fc456cb0bf3a1

Sam Lantinga 2017-01-05T02:53:29

Fixed build warning on Haiku

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/joystick/haiku/SDL_haikujoystick.cc b/src/joystick/haiku/SDL_haikujoystick.cc
index 07ee5a7..fa3234c 100644
--- a/src/joystick/haiku/SDL_haikujoystick.cc
+++ b/src/joystick/haiku/SDL_haikujoystick.cc
@@ -178,7 +178,7 @@ extern "C"
         };
 
         BJoystick *stick;
-        int i, change;
+        int i;
         int16 *axes;
         uint8 *hats;
         uint32 buttons;