diff options
author | Wayne Davison <wayned@samba.org> | 2013-05-19 21:31:27 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2013-05-19 22:01:29 +0000 |
commit | 4442f8037bf32fb549dc7074af643d66710ab9d5 (patch) | |
tree | cfc2ef97578fae61d2f61b11cbaf94b4a0a4019e /ifuncs.h | |
parent | 333e3a9ff0bd3783b81542e112a63fdb3f4678b0 (diff) | |
download | rsync-4442f8037bf32fb549dc7074af643d66710ab9d5.tar.gz |
Fixed unused variable warnings in free_stat_x.
Diffstat (limited to 'ifuncs.h')
-rw-r--r-- | ifuncs.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -89,13 +89,18 @@ init_stat_x(stat_x *sx_p) static inline void free_stat_x(stat_x *sx_p) { - extern int preserve_acls, preserve_xattrs; #ifdef SUPPORT_ACLS + { + extern int preserve_acls; if (preserve_acls) free_acl(sx_p); + } #endif #ifdef SUPPORT_XATTRS + { + extern int preserve_xattrs; if (preserve_xattrs) free_xattr(sx_p); + } #endif } |