Fixed shadow variable warning
parent
d355ea9981
commit
47ebf0087a
|
@ -68,7 +68,7 @@ HIDAPI_DriverCombined_OpenJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joys
|
||||||
SDL_HIDAPI_Device *child = device->children[i];
|
SDL_HIDAPI_Device *child = device->children[i];
|
||||||
if (!child->driver->OpenJoystick(child, joystick)) {
|
if (!child->driver->OpenJoystick(child, joystick)) {
|
||||||
while (i-- > 0) {
|
while (i-- > 0) {
|
||||||
SDL_HIDAPI_Device *child = device->children[i];
|
child = device->children[i];
|
||||||
child->driver->CloseJoystick(child, joystick);
|
child->driver->CloseJoystick(child, joystick);
|
||||||
}
|
}
|
||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
|
|
Loading…
Reference in New Issue