]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Remove dead assignment that Clang Static Analyzer pointed out.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 12 Sep 2012 01:47:49 +0000 (10:47 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 12 Sep 2012 01:47:49 +0000 (10:47 +0900)
libarchive/archive_read_disk_entry_from_file.c

index 39c4c56e01d5e6f7c7921bc6fdc0ee7cea3ca123..638c68b5aa7fde21c66a669d5cae51f129cec72c 100644 (file)
@@ -532,7 +532,6 @@ translate_acl(struct archive_read_disk *a,
                switch (default_entry_acl_type) {
                case ARCHIVE_ENTRY_ACL_TYPE_ACCESS:
                case ARCHIVE_ENTRY_ACL_TYPE_DEFAULT:
-                       entry_acl_type = default_entry_acl_type;
                        break;
                default:
                        // XXX set warning message?