Commit b3a18706eeb2f5a6754124fdf6964c36d78bf377

Sam Lantinga 2022-05-16T06:37:38

Removed unused variables

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/joystick/virtual/SDL_virtualjoystick.c b/src/joystick/virtual/SDL_virtualjoystick.c
index 64d032f..6e80d38 100644
--- a/src/joystick/virtual/SDL_virtualjoystick.c
+++ b/src/joystick/virtual/SDL_virtualjoystick.c
@@ -97,8 +97,6 @@ SDL_JoystickAttachVirtualInner(const SDL_VirtualJoystickDesc *desc)
     joystick_hwdata *hwdata = NULL;
     int device_index = -1;
     const char *name = NULL;
-    Uint16 button_mask = 0;
-    Uint16 axis_mask = 0;
     Uint16 *guid16;
     int axis_triggerleft = -1;
     int axis_triggerright = -1;