summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-10-08 14:04:20 +0200
committerJim Meyering <meyering@redhat.com>2008-10-17 08:55:12 +0200
commit2ae61facc71b46f3ea970fe497da62ab3b55b878 (patch)
tree1eff994a6d46879633f777be36ccdb885ab1597d
parentbb7fa1e9321e6469c0738c33f5e5bb8ac3d62067 (diff)
downloadcoreutils-2ae61facc71b46f3ea970fe497da62ab3b55b878.tar.xz
maint: avoid warning in ls.c
* src/ls.c (has_capability) [!HAVE_CAP]: Add unused attribute.
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index ea35b17e2..efe42e3ec 100644
--- 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;
}