• Ulrich Sibiller's avatar
    xkb: remove oldState from XkbHandleActions. · 56dcc8a4
    Ulrich Sibiller authored
    Fixes this cppcheck finding:
    [nx-X11/programs/Xserver/xkb/xkbActions.c:1306]: (error) Uninitialized variable: oldState
    
      commit 35a4b8e7f4526a92d44cb16a783f21030cd1f6df
      Author: Peter Hutterer <peter.hutterer@who-t.net>
      Date:   Tue May 5 16:51:59 2009 +1000
    
        xkb: remove oldState from XkbHandleActions.
    
        I really don't know what the purpose of this variable is or was, aside from
        potentially clobbering up our key state since there's a path where it may be
        used uninitialised.
    
        Also, this means that xkbi->prev_state is now accessible from the DIX with
        meaningful data.
    Signed-off-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
    56dcc8a4
Name
Last commit
Last update
..
config Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
programs Loading commit data...
.gitignore Loading commit data...
Imakefile Loading commit data...
Makefile Loading commit data...
x-indent-all.sh Loading commit data...
x-indent.sh Loading commit data...