libinput: Suppress unhandled-case warning
authorDaniel Stone <daniels@collabora.com>
Tue, 14 Mar 2017 17:24:04 +0000 (17:24 +0000)
committerDaniel Stone <daniels@collabora.com>
Fri, 17 Mar 2017 17:37:47 +0000 (17:37 +0000)
commit4933ca5e57ecd3b89b1c29497a193c4a86705038
tree8ed545e5490258378ce220926d590c4a2cd583ae
parent300bc6efea4e4bd9cb0794788bebde425cc39612
libinput: Suppress unhandled-case warning

When the wheel tilt source is present, gcc complains that we don't
handle all possible enumeration values. We already ensure this cannot
happen in its only caller (handle_pointer_axis), but gcc doesn't
recognise this. Give it a default value to quiet the warning.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
libweston/libinput-device.c