projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use target-specific *_CPPFLAGS, not the deprecated INCLUDES.
[freeglut]
/
src
/
freeglut_joystick.c
diff --git
a/src/freeglut_joystick.c
b/src/freeglut_joystick.c
index
dc0d0bb
..
af7c54c
100644
(file)
--- 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)