mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-31 02:50:00 +00:00
xkb: fix uninitialized variables in XkmReadFile()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
269cd0f8ac
commit
8b970b4bde
1 changed files with 1 additions and 1 deletions
|
|
@ -1209,7 +1209,7 @@ unsigned
|
|||
XkmReadFile(FILE * file, unsigned need, unsigned want, XkbDescPtr *xkb)
|
||||
{
|
||||
register unsigned i;
|
||||
xkmSectionInfo toc[MAX_TOC], tmpTOC;
|
||||
xkmSectionInfo toc[MAX_TOC] = { 0 }, tmpTOC = { 0 };
|
||||
xkmFileInfo fileInfo;
|
||||
unsigned tmp, nRead = 0;
|
||||
unsigned which = need | want;
|
||||
|
|
|
|||
Loading…
Reference in a new issue