diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 14:10:19 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 14:10:19 +0200 |
commit | 036e37ea05c59013bef4e40e6f3485b2674fd939 (patch) | |
tree | c35c07a1d10374f778ad881155b512b3dc828e94 /console-client | |
parent | ac5d97ead2173f6ec6a8fc3f57b994c86c0afe27 (diff) |
Fix gcc warning
* console-client/pc-kbd.c (gnumach_v1_input_next) [XKB_SUPPORT]: Do not
define `up` and `sc` variables.
Diffstat (limited to 'console-client')
-rw-r--r-- | console-client/pc-kbd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/console-client/pc-kbd.c b/console-client/pc-kbd.c index c6eda86f..21c09876 100644 --- a/console-client/pc-kbd.c +++ b/console-client/pc-kbd.c @@ -591,8 +591,10 @@ static enum scancode gnumach_v1_input_next () { kd_event data_buf; +#ifndef XKB_SUPPORT int up; enum scancode sc; +#endif /* not XKB_SUPPORT */ do { |