mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-22 05:44:17 -04:00
Fixed unused variable warnings in free_stat_x.
This commit is contained in:
1 parent
333e3a9ff0
commit
4442f8037b
1 file changed
+6
-1
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user