diff --git a/THANKS b/THANKS index d36809cdf..649ebffe7 100644 --- a/THANKS +++ b/THANKS @@ -97,6 +97,7 @@ Mark A. Tsuchida Martin Buchholz Martin Herkt Martin Szulecki +Mathieu Pujol Michael Balzer Michael Beck Michael Heimpold diff --git a/lib/zip_close.c b/lib/zip_close.c index 6948c0e25..5efb2c603 100644 --- a/lib/zip_close.c +++ b/lib/zip_close.c @@ -304,7 +304,8 @@ static int add_data(zip_t *za, zip_source_t *src, zip_dirent_t *de, zip_uint32_t int is_zip64; zip_flags_t flags; bool needs_recompress, needs_decompress, needs_crc, needs_compress, needs_reencrypt, needs_decrypt, needs_encrypt; - bool have_dos_time, dirent_changed; + bool dirent_changed; + bool have_dos_time = false; time_t mtime_before_copy; if (zip_source_stat(src, &st) < 0) {