mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-10 19:25:30 +00:00
Fixed variable shadow warning
This commit is contained in:
parent
2fa2f9ff77
commit
dfed862a66
|
@ -1240,7 +1240,6 @@ HIDAPI_JoystickQuit(void)
|
||||||
SDL_HIDAPI_Device *device = SDL_HIDAPI_devices;
|
SDL_HIDAPI_Device *device = SDL_HIDAPI_devices;
|
||||||
if (device->parent) {
|
if (device->parent) {
|
||||||
/* When a child device goes away, so does the parent */
|
/* When a child device goes away, so does the parent */
|
||||||
int i;
|
|
||||||
device = device->parent;
|
device = device->parent;
|
||||||
for (i = 0; i < device->num_children; ++i) {
|
for (i = 0; i < device->num_children; ++i) {
|
||||||
HIDAPI_DelDevice(device->children[i]);
|
HIDAPI_DelDevice(device->children[i]);
|
||||||
|
|
Loading…
Reference in a new issue