diff options
author | Etsushi Kato <ek.kato@gmail.com> | 2006-11-08 16:29:16 +0200 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-11-08 16:29:16 +0200 |
commit | 337ed258a1cd3f5a16fa69ef15e98781e76f63a1 (patch) | |
tree | f5acb8303d4f396b004cc2aa889023512ee94e7f | |
parent | d920bbadb94684287f70e50ded2a35d65186c188 (diff) |
compat: avoid use of uninitialised variable (bug #8846)
si.interp.match may be unused, so just clobber it, which means we don't
end up with stuff like LevelOneOnlyMask wandering in.
-rw-r--r-- | compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -583,7 +583,7 @@ SymInterpInfo si; si= info->dflt; si.defs.merge= merge; si.interp.sym= def->sym; - si.interp.match= (si.interp.match&(~XkbSI_OpMask))|(pred&XkbSI_OpMask); + si.interp.match= pred & XkbSI_OpMask; si.interp.mods= mods; if (!HandleInterpBody(def->def,xkb,&si,info)) { info->errorCount++; |