summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-08-18 14:05:33 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-08-18 17:40:26 +0930
commit7aef93914e1d6446f64aa42eafa18375c2cb4bed (patch)
tree70b79cd204d5ab512e9db56157c51b53379d0078 /misc.c
parenteb18e9176841b3ea64c497f1919686e134713eb6 (diff)
Silence valgrind warnings.
"Conditional jump or move depends on uninitialised value(s)"
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index d1dc832..fe07812 100644
--- a/misc.c
+++ b/misc.c
@@ -43,7 +43,7 @@ ProcessIncludeFile(IncludeStmt * stmt,
{
FILE *file;
XkbFile *rtrn, *mapToUse;
- char oldFile[1024];
+ char oldFile[1024] = {0};
int oldLine = lineNum;
rtrn = XkbFindFileInCache(stmt->file, file_type, &stmt->path);