changeset 10163:80da7c7e20c8

Avoid gcc warning on cygwin. * lib/copy-acl.c (qcopy_acl) [!HAVE_ACL_GET_FILE && !ACL_NO_TRIVIAL]: Avoid unused variable. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Fri, 06 Jun 2008 08:34:18 -0600
parents 101fa85f1d56
children 13e7e4dc2f34
files ChangeLog lib/copy-acl.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jun 03 11:42:12 2008 +0200
+++ b/ChangeLog	Fri Jun 06 08:34:18 2008 -0600
@@ -1,3 +1,9 @@
+2008-06-06  Eric Blake  <ebb9@byu.net>
+
+	Avoid gcc warning on cygwin.
+	* lib/copy-acl.c (qcopy_acl) [!HAVE_ACL_GET_FILE &&
+	!ACL_NO_TRIVIAL]: Avoid unused variable.
+
 2008-06-05  Eric Blake  <ebb9@byu.net>
 
 	Be tolerant of UNKNOWN version in gnulib-tool test dir.
--- a/lib/copy-acl.c	Tue Jun 03 11:42:12 2008 +0200
+++ b/lib/copy-acl.c	Fri Jun 06 08:34:18 2008 -0600
@@ -155,7 +155,8 @@
 
 #else
 
-  return qset_acl (dst_name, dest_desc, mode);
+  ret = qset_acl (dst_name, dest_desc, mode);
+  return ret;
 
 #endif
 }