mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 18:40:02 +01:00
Thanks to gcc's -Wunused-but-set-variable, stop ignoring the percent parameter, and add it to the XKeyboardControl structure before the XChangeKeyboardControl call. This warning goes away accordingly: | CC xbell-xbell.o | xbell.c: In function ‘main’: | xbell.c:74:22: warning: variable ‘percent’ set but not used [-Wunused-but-set-variable] Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Cyril Brulebois <kibi@debian.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| dmxaddinput.c | ||
| dmxaddscreen.c | ||
| dmxinfo.c | ||
| dmxreconfig.c | ||
| dmxresize.c | ||
| dmxrminput.c | ||
| dmxrmscreen.c | ||
| dmxwininfo.c | ||
| ev.c | ||
| evi.c | ||
| Makefile.am | ||
| res.c | ||
| xbell.c | ||
| xinput.c | ||
| xled.c | ||
| xtest.c | ||