From 2391c409a2840d61fed93832650c0d6c82ebebdf Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Fri, 13 Jun 2008 22:48:17 -0400 Subject: Fix "warning: unused variable `s'". --- xkb/xkbEvents.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'xkb') diff --git a/xkb/xkbEvents.c b/xkb/xkbEvents.c index 6389b906f..047efcdfb 100644 --- a/xkb/xkbEvents.c +++ b/xkb/xkbEvents.c @@ -882,14 +882,13 @@ XkbSrvInfoPtr xkbi; ((xE[i].u.u.type==KeyPress)||(xE[i].u.u.type==KeyRelease)|| (xE[i].u.u.type==DeviceKeyPress)|| (xE[i].u.u.type == DeviceKeyRelease))) { - XkbStatePtr s= &xkbi->state; DebugF("[xkb] XKbFilterWriteEvents (non-XKB):\n"); DebugF("[xkb] event= 0x%04x\n",xE[i].u.keyButtonPointer.state); - DebugF("[xkb] lookup= 0x%02x, grab= 0x%02x\n",s->lookup_mods, - s->grab_mods); + DebugF("[xkb] lookup= 0x%02x, grab= 0x%02x\n",xkbi->state.lookup_mods, + xkbi->state.grab_mods); DebugF("[xkb] compat lookup= 0x%02x, grab= 0x%02x\n", - s->compat_lookup_mods, - s->compat_grab_mods); + xkbi->state.compat_lookup_mods, + xkbi->state.compat_grab_mods); } if ( (type>=KeyPress)&&(type<=MotionNotify) ) { CARD16 old,new; -- cgit v1.2.3