[PATCH synaptics 2/3] Remove unused variable 'thr'

Peter Hutterer peter.hutterer at who-t.net
Mon Jan 2 17:19:32 PST 2012


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 at 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



More information about the xorg-devel mailing list