From dca4de72d375c4b9bcdd25b151e291a77a5b06cc Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sat, 15 Aug 2009 20:17:20 +1000 Subject: dix: fix potential use of unused variable 'mask'. Signed-off-by: Peter Hutterer --- dix/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dix') 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) -- cgit v1.2.3