From 1514b93befc19692fdbd16123125e453a00a9b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=BE=D0=BC=D0=B0=D0=BD=20=D0=94=D0=BE=D0=BD=D1=87=D0?= =?UTF-8?q?=B5=D0=BD=D0=BA=D0=BE?= Date: Mon, 6 May 2013 21:43:52 +0400 Subject: [PATCH 4/4] Fixed unused variable warnings in free_stat_x. --- ifuncs.h | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ifuncs.h b/ifuncs.h index e823e95..5b45bae 100644 --- a/ifuncs.h +++ b/ifuncs.h @@ -89,7 +89,13 @@ 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; +#endif +#ifdef SUPPORT_XATTRS + extern int preserve_xattrs; +#endif + #ifdef SUPPORT_ACLS if (preserve_acls) free_acl(sx_p); -- 1.7.9