make_tar_archive() needs to initialize `success'.
[pintos-anon] / src / tests / filesys / extended / tar.c
index 193c373fe92abe66576d616f316ab0f347022939..a5818616b4b2afe80921987fe2236bcec3b72c46 100644 (file)
@@ -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;