Explorar el Código

Fixed variable shadow warning

Sam Lantinga hace 3 años
padre
commit
dfed862a66
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/joystick/hidapi/SDL_hidapijoystick.c

+ 0 - 1
src/joystick/hidapi/SDL_hidapijoystick.c

@@ -1240,7 +1240,6 @@ HIDAPI_JoystickQuit(void)
         SDL_HIDAPI_Device *device = SDL_HIDAPI_devices;
         if (device->parent) {
             /* When a child device goes away, so does the parent */
-            int i;
             device = device->parent;
             for (i = 0; i < device->num_children; ++i) {
                 HIDAPI_DelDevice(device->children[i]);