mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
xkb: fix uninitialized variables in XkmReadFile()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user