X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_joystick.c;h=af7c54c328ac870298b78c7c1af9f0a9d63a37da;hb=ce2e5aba172eb85cda2b4f047bdcf9f54d019fd7;hp=dc0d0bb1041e57b3d9702552baf5841cfb178c8f;hpb=63686bf98a0cef73ddb6233ce3e99246e20bbd7d;p=freeglut diff --git a/src/freeglut_joystick.c b/src/freeglut_joystick.c index dc0d0bb..af7c54c 100644 --- a/src/freeglut_joystick.c +++ b/src/freeglut_joystick.c @@ -1066,6 +1066,9 @@ static void fghJoystickOpen( SFG_Joystick* joy ) # endif #endif + /* Silence gcc, the correct #ifdefs would be too fragile... */ + (void)i; + /* * Default values (for no joystick -- each conditional will reset the * error flag)