summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/kconfig/zconf.l2
-rw-r--r--util/kconfig/zconf.lex.c_shipped2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/kconfig/zconf.l b/util/kconfig/zconf.l
index b6bed02131..0b45c19db9 100644
--- a/util/kconfig/zconf.l
+++ b/util/kconfig/zconf.l
@@ -339,7 +339,7 @@ void zconf_nextfile(const char *name)
void zconf_nextfiles(const char *wildcard)
{
- glob_t g;
+ glob_t g = {0};
char **w;
int i;
diff --git a/util/kconfig/zconf.lex.c_shipped b/util/kconfig/zconf.lex.c_shipped
index cf05b190c2..72e3a5fca2 100644
--- a/util/kconfig/zconf.lex.c_shipped
+++ b/util/kconfig/zconf.lex.c_shipped
@@ -2417,7 +2417,7 @@ void zconf_nextfile(const char *name)
void zconf_nextfiles(const char *wildcard)
{
- glob_t g;
+ glob_t g = {0};
char **w;
int i;