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.hutte...@who-t.net>
---
 src/synaptics.c |    1 -
 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;
-- 
1.7.7.4

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to