[PATCH v2 libinput] code cleanup

2015-07-20 Thread Thomas Hindoe Paaboel Andersen
Removes some dead assignments, an unused function, and uses %d format specifier for int. Signed-off-by: Thomas Hindoe Paaboel Andersen --- Changes since v1: * pointer.c: Remove the second assignment instead of the first * Add signed-off-by src/evdev-mt-touchpad-buttons.c | 1 - test

[PATCH libinput] Code cleanup

2015-07-20 Thread Thomas Hindoe Paaboel Andersen
Removes some dead assignments, an unused function, and uses %d format specifier for int. --- src/evdev-mt-touchpad-buttons.c | 1 - test/gestures.c | 4 test/litest.c | 4 ++-- test/pointer.c | 2 +- tools/libinput-list-devices.c | 9 --