]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
conditionally declare r on ACL_TYPE_NFS4 768/head
authorHanno <hanno@gentoo.org>
Thu, 18 Aug 2016 03:51:59 +0000 (05:51 +0200)
committerHanno <hanno@gentoo.org>
Thu, 18 Aug 2016 03:51:59 +0000 (05:51 +0200)
libarchive/archive_write_disk_acl.c

index cbd202c2bd171cc15cb20d8a2a373f3d46e5b190..4c61054d18fe2dc67a11d6303308c68dfe1fad4f 100644 (file)
@@ -138,6 +138,7 @@ set_acl(struct archive *a, int fd, const char *name,
        acl_permset_t    acl_permset;
 #ifdef ACL_TYPE_NFS4
        acl_flagset_t    acl_flagset;
+       int              r;
 #endif
        int              ret;
        int              ae_type, ae_permset, ae_tag, ae_id;