maint: avoid warning in ls.c
authorJim Meyering <meyering@redhat.com>
Wed, 8 Oct 2008 12:04:20 +0000 (14:04 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 17 Oct 2008 06:55:12 +0000 (08:55 +0200)
* src/ls.c (has_capability) [!HAVE_CAP]: Add unused attribute.

src/ls.c

index ea35b17..efe42e3 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -3944,7 +3944,7 @@ has_capability (char const *name)
 }
 #else
 static bool
-has_capability (char const *name)
+has_capability (char const *name ATTRIBUTE_UNUSED)
 {
   return false;
 }