summaryrefslogtreecommitdiff
path: root/hw/dmx/dmxstat.h
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2011-05-24 18:33:18 +0200
committerCyril Brulebois <kibi@debian.org>2011-06-16 00:44:43 +0200
commit4edf49d032028aa4b9887d02b926b0c372c4451d (patch)
treede8246e382c45011f51848fea515127b5a660a64 /hw/dmx/dmxstat.h
parent33dad2b74e3489c8a6b5fa574172d6cd2b6de037 (diff)
dmx/examples: Fix missing key_click_percent assignment.
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>
Diffstat (limited to 'hw/dmx/dmxstat.h')
0 files changed, 0 insertions, 0 deletions