summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-08-15 20:17:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-17 10:14:20 +1000
commitdca4de72d375c4b9bcdd25b151e291a77a5b06cc (patch)
treea92dce8d418e43f0618f47575d6baee1049d10d1 /dix
parent978b65bce14598f2d42ca0177ea58fef71fc12c5 (diff)
dix: fix potential use of unused variable 'mask'.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r--dix/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index d554a7fef..8450706c2 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -3418,7 +3418,7 @@ CheckPassiveGrabsOnWindow(
{
DeviceIntPtr gdev;
XkbSrvInfoPtr xkbi = NULL;
- Mask mask;
+ Mask mask = 0;
gdev= grab->modifierDevice;
if (grab->grabtype == GRABTYPE_CORE)