• 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
debian Loading commit data...
doc Loading commit data...
etc Loading commit data...
m4 Loading commit data...
nx-X11 Loading commit data...
nxcomp Loading commit data...
nxcompshad Loading commit data...
nxdialog Loading commit data...
nxproxy Loading commit data...
testscripts Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
LICENSE Loading commit data...
LICENSE.nxcomp Loading commit data...
Makefile Loading commit data...
README.NX-development Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
fix-patch-whitespace Loading commit data...
make-changelog.sh Loading commit data...
mesa-quilt Loading commit data...
nx-libs.spec Loading commit data...
regenerate-symbol-docs.sh Loading commit data...
replace.sh Loading commit data...
roll-tarballs.sh Loading commit data...
run-static-analysis.sh Loading commit data...
version.sh Loading commit data...