From: Ben Pfaff Date: Thu, 17 Aug 2006 16:47:41 +0000 (+0000) Subject: make_tar_archive() needs to initialize `success'. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b672ca6e4ba386459c7a17cc4442623081180ef6;p=pintos-anon make_tar_archive() needs to initialize `success'. Thanks to "Morgan" for reporting this bug. --- diff --git a/src/tests/filesys/extended/tar.c b/src/tests/filesys/extended/tar.c index 193c373..a581861 100644 --- a/src/tests/filesys/extended/tar.c +++ b/src/tests/filesys/extended/tar.c @@ -50,7 +50,7 @@ make_tar_archive (const char *archive_name, char *files[], size_t file_cnt) { static const char zeros[512]; int archive_fd; - bool success; + bool success = true; bool write_error = false; size_t i;