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;