Avoid gcc warning on cygwin.
authorEric Blake <ebb9@byu.net>
Fri, 6 Jun 2008 14:34:18 +0000 (08:34 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 6 Jun 2008 14:37:22 +0000 (08:37 -0600)
* lib/copy-acl.c (qcopy_acl) [!HAVE_ACL_GET_FILE &&
!ACL_NO_TRIVIAL]: Avoid unused variable.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/copy-acl.c

index f30e733..f72c568 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 3bb5187..d94f887 100644 (file)
@@ -155,7 +155,8 @@ qcopy_acl (const char *src_name, int source_desc, const char *dst_name,
 
 #else
 
-  return qset_acl (dst_name, dest_desc, mode);
+  ret = qset_acl (dst_name, dest_desc, mode);
+  return ret;
 
 #endif
 }