summaryrefslogtreecommitdiff
path: root/os/connection.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-10-31 09:29:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-11-12 10:25:00 +1000
commit04ca16997994c7561ed8948b89fc1c922233da13 (patch)
treec157eaed6b0e31cab4ceee3df8dce74a3531268f /os/connection.c
parent79b9d33545034f2952ebc7e444c201693b45f44b (diff)
dix: silence compiler warning
inpututils.c:243:26: warning: comparison of constant 256 with expression of type 'KeyCode' (aka 'unsigned char') is always false [-Wtautological-constant-out-of-range-compare] if (modkeymap[i] >= MAP_LENGTH) ~~~~~~~~~~~~ ^ ~~~~~~~~~~ MAP_LENGTH depends on MAX_BUTTONS which is somewhat arbitrarily chosen. We don't expect this to ever change, but just in case leave the condition there so the code is correct if we drop the number down. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'os/connection.c')
0 files changed, 0 insertions, 0 deletions