diff options
Diffstat (limited to 'Xi/exevents.c')
-rw-r--r-- | Xi/exevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c index 2377d054e..006561985 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -1414,7 +1414,7 @@ GrabButton(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr modifier_device, WindowPtr pWin, confineTo; CursorPtr cursor; GrabPtr grab; - int rc, type; + int rc, type = -1; Mask access_mode = DixGrabAccess; rc = CheckGrabValues(client, param); @@ -1472,7 +1472,7 @@ GrabKey(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr modifier_device, GrabPtr grab; KeyClassPtr k = dev->key; Mask access_mode = DixGrabAccess; - int rc, type; + int rc, type = -1; rc = CheckGrabValues(client, param); if (rc != Success) |