Commit 4442f803 authored by Wayne Davison's avatar Wayne Davison

Fixed unused variable warnings in free_stat_x.

parent 333e3a9f
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment