Fixed unused variable warnings in free_stat_x.

This commit is contained in:
Wayne Davison committed 2013-05-19 22:01:29 +00:00
1 parent 333e3a9ff0
commit 4442f8037b
1 file changed
+6 -1
+6 -1
View File
@@ -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
}