]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix build failure on linux
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 15 Feb 2012 21:13:15 +0000 (06:13 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 15 Feb 2012 21:13:15 +0000 (06:13 +0900)
libarchive/archive_read_disk_entry_from_file.c

index d5d9eaae7592303e657f7d13bd91ab737699e305..d9ee54152586674e32e6b189dd11b234b2cf4233 100644 (file)
@@ -898,7 +898,7 @@ setup_sparse(struct archive_read_disk *a,
                path = archive_entry_sourcepath(entry);
                if (path == NULL)
                        path = archive_entry_pathname(entry);
-               if (a->tree != NULL) {
+               if (a->tree != NULL)
                        *fd = a->open_on_current_dir(a->tree, path,
                                O_RDONLY | O_NONBLOCK);
                else