[PATCH penmount 04/10] Fix compiler warning, unused variable "map".

Peter Hutterer peter.hutterer at who-t.net
Wed Dec 1 20:37:51 PST 2010


xf86PM.c: In function 'DeviceControl':
xf86PM.c:530:16: warning: unused variable 'map'

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/xf86PM.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/xf86PM.c b/src/xf86PM.c
index 328ad28..a45e67d 100644
--- a/src/xf86PM.c
+++ b/src/xf86PM.c
@@ -526,8 +526,6 @@ DeviceControl (DeviceIntPtr dev, int mode)
 {
 	InputInfoPtr pInfo = dev->public.devicePrivate;
 	PenMountPrivatePtr priv = (PenMountPrivatePtr) (pInfo->private);
-	unsigned char map[] =
-	{0, 1};
 
 	switch (mode)
 	{
-- 
1.7.3.2



More information about the xorg-devel mailing list