diff --git a/tools/command.c b/tools/command.c index 0d37de7f6..37f6a6153 100644 --- a/tools/command.c +++ b/tools/command.c @@ -3526,7 +3526,7 @@ static int _include_description_file(char *name, char *des_file) char *buf; int fd, r = 0; ssize_t sz; - struct stat statbuf; + struct stat statbuf = { 0 }; if ((fd = open(des_file, O_RDONLY)) < 0) { log_error("Failed to open description file %s.", des_file);