Permalink
Browse files

Merge pull request #16 from mmatuska/master

Add missing variable initialization in FreeBSD acl code.
  • Loading branch information...
2 parents 53de044 + 9a59bd7 commit 7484ff1801b3b15989620b0690a17f6d19936025 @kientzle kientzle committed Aug 1, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 libarchive/archive_read_disk_entry_from_file.c
View
3 libarchive/archive_read_disk_entry_from_file.c
@@ -398,6 +398,9 @@ setup_acls(struct archive_read_disk *a,
{
const char *accpath;
acl_t acl;
+#if HAVE_ACL_IS_TRIVIAL_NP
+ int r;
+#endif
accpath = archive_entry_sourcepath(entry);
if (accpath == NULL)

0 comments on commit 7484ff1

Please sign in to comment.