mirror of
https://github.com/encounter/SDL.git
synced 2025-05-31 03:31:25 +00:00
Fixed shadow variable warning
This commit is contained in:
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…
x
Reference in New Issue
Block a user