]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Eliminate a warning.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sat, 1 Jan 2011 10:32:41 +0000 (05:32 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sat, 1 Jan 2011 10:32:41 +0000 (05:32 -0500)
SVN-Revision: 2851

libarchive/archive_read_support_format_iso9660.c

index 64df6ad13911346e340d8207e5030ebf1bc8a1e8..3d22a05797d75836f2a766317a1a43e313444407 100644 (file)
@@ -1222,6 +1222,7 @@ archive_read_format_iso9660_read_header(struct archive_read *a,
        } else
                rd_r = ARCHIVE_OK;
 
+       file = NULL;/* Eliminate a warning. */
        /* Get the next entry that appears after the current offset. */
        r = next_entry_seek(a, iso9660, &file);
        if (r != ARCHIVE_OK)