mirror of
https://github.com/glfw/glfw.git
synced 2026-09-19 23:43:15 +00:00
Limit scope of some loop counters in C99 files
This commit is contained in:
@@ -363,9 +363,7 @@ GLFWbool _glfwInitJoysticksLinux(void)
|
||||
|
||||
void _glfwTerminateJoysticksLinux(void)
|
||||
{
|
||||
int jid;
|
||||
|
||||
for (jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++)
|
||||
for (int jid = 0; jid <= GLFW_JOYSTICK_LAST; jid++)
|
||||
{
|
||||
_GLFWjoystick* js = _glfw.joysticks + jid;
|
||||
if (js->present)
|
||||
|
||||
Reference in New Issue
Block a user