summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-09 15:10:21 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-10 16:57:32 +1030
commitdecec14219bcd992ec426e202ff3c8681b520b74 (patch)
treef34281b940aea82ef67b654f3453694168fc4c5b /dix
parent0b4b683f3eeec43536e73be302a4c396fe4d9894 (diff)
dix: silence "unused variable" compiler warning.
Diffstat (limited to 'dix')
-rw-r--r--dix/devices.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c
index 9d4ce3462..d19910fb7 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -1121,7 +1121,6 @@ InitModMap(KeyClassPtr keyc)
_X_EXPORT Bool
InitKeyClassDeviceStruct(DeviceIntPtr dev, KeySymsPtr pKeySyms, CARD8 pModifiers[])
{
- int i;
KeyClassPtr keyc;
keyc = xcalloc(1, sizeof(KeyClassRec));