From bcc88a1d46c7ba469c4e2861875f84f8c77d4b15 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sun, 22 Jun 2008 22:34:30 +0930 Subject: xkb: remove unused variable is_core. --- xkb/xkbAccessX.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xkb') diff --git a/xkb/xkbAccessX.c b/xkb/xkbAccessX.c index 28107d05d..d3b585a70 100644 --- a/xkb/xkbAccessX.c +++ b/xkb/xkbAccessX.c @@ -309,15 +309,14 @@ AccessXRepeatKeyExpire(OsTimerPtr timer,CARD32 now,pointer arg) DeviceIntPtr dev = (DeviceIntPtr) arg; XkbSrvInfoPtr xkbi = dev->key->xkbInfo; KeyCode key; -BOOL is_core; if (xkbi->repeatKey == 0) return 0; - is_core = (dev == inputInfo.keyboard); key = xkbi->repeatKey; AccessXKeyboardEvent(dev, DeviceKeyRelease, key, True); AccessXKeyboardEvent(dev, DeviceKeyPress, key, True); + return xkbi->desc->ctrls->repeat_interval; } -- cgit v1.2.3