Commit a7563bcd3dcc3f226aaa2e4ddaeef5181c39afbb

Ryan C. Gordon 2018-12-05T19:03:15

joystick: Removed unused variable.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/linux/SDL_sysjoystick.c b/src/joystick/linux/SDL_sysjoystick.c
index 85a7ee5..08b48c0 100644
--- a/src/joystick/linux/SDL_sysjoystick.c
+++ b/src/joystick/linux/SDL_sysjoystick.c
@@ -88,7 +88,6 @@ static int
 IsJoystick(int fd, char *namebuf, const size_t namebuflen, SDL_JoystickGUID *guid)
 {
     struct input_id inpid;
-    Uint32 id;
     Uint16 *guid16 = (Uint16 *)guid->data;
 
 #if !SDL_USE_LIBUDEV