]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Remove dead code in archive_entry_xattr_add_entry() 716/head
authorGraham Percival <gperciva@tarsnap.com>
Mon, 13 Jun 2016 23:13:06 +0000 (16:13 -0700)
committerGraham Percival <gperciva@tarsnap.com>
Mon, 13 Jun 2016 23:13:06 +0000 (16:13 -0700)
commitc7fb9682b1a0a98f11c9d62bc238556a6e4f6066
tree8dc447a5915fe00fabbaab299db2fb578a72259b
parentecdac4d50db0cf5a0c630ba077729aaa6c5a2dd2
Remove dead code in archive_entry_xattr_add_entry()

The code seems to be walking through the linked list beginning at
entry->xattr_head, but then it immediately sets xp to be something different.

This is 10-year old code; it was added in the first "POSIX.1e-style Extended
Attribute support" commit, on March 21 2006:
https://svnweb.freebsd.org/base/head/lib/libarchive/archive_entry.c?annotate=156961&pathrev=156961#l1387
libarchive/archive_entry_xattr.c