summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-01-03 10:59:46 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-01-04 08:04:24 +1000
commitf5c60a6d1e87353975a340f8fb2f318c8edceea0 (patch)
treefc2363ee4199c70dea6149b045389d5082cb8863
parent3ec93218d2211420ede260e298ff5e23202556ff (diff)
Remove unused variable 'thr'
synaptics.c: In function 'SynapticsAccelerationProfile': synaptics.c:619:12: warning: unused variable 'thr' [-Wunused-variable] On input ABIs < 14. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r--src/synaptics.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index 9490106..b1f2cf2 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -616,7 +616,6 @@ static float SynapticsAccelerationProfile(DeviceIntPtr dev,
float thr_f,
float acc_f) {
double velocity = velocity_f;
- double thr = thr_f;
double acc = acc_f;
#endif
InputInfoPtr pInfo = dev->public.devicePrivate;