summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-03-13 08:50:53 +1000
committerJason Gerecke <killertofu@gmail.com>2017-03-24 13:12:12 -0700
commit7f6658af6f1a4e22adddd6fd931edb8870dbafc0 (patch)
treed2da386ea8e1b5fb7e7da940b6bee73aaf41f79b
parent267e74cd1325f250185ced951914220bc4287ecf (diff)
downloadxf86-input-wacom-7f6658af6f1a4e22adddd6fd931edb8870dbafc0.tar.gz
Fix build with #ifdef DEBUG disabled
Introduced in de650d6224 Reported-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/xf86Wacom.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xf86Wacom.c b/src/xf86Wacom.c
index 26b4e9c..a511fd2 100644
--- a/src/xf86Wacom.c
+++ b/src/xf86Wacom.c
@@ -823,9 +823,7 @@ static void wcmUnlinkTouchAndPen(InputInfoPtr pInfo)
static int wcmDevProc(DeviceIntPtr pWcm, int what)
{
InputInfoPtr pInfo = (InputInfoPtr)pWcm->public.devicePrivate;
-#ifdef DEBUG
WacomDevicePtr priv = (WacomDevicePtr)pInfo->private;
-#endif
Status rc = !Success;
DBG(2, priv, "BEGIN dev=%p priv=%p "