diff --git a/src/libchdr_chd.c b/src/libchdr_chd.c index 7d337ce..3f280ba 100644 --- a/src/libchdr_chd.c +++ b/src/libchdr_chd.c @@ -1901,7 +1901,7 @@ CHD_EXPORT const chd_header *chd_get_header(chd_file *chd) CHD_EXPORT chd_error chd_read_header(const char *filename, chd_header *header) { chd_error err = CHDERR_NONE; - chd_file chd; + chd_file chd = { }; /* punt if NULL */ if (filename == NULL || header == NULL)