about summary refs log tree commit diff
path: root/locale/elem-hash.h
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-02-26 10:40:19 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-02-26 10:40:19 +0530
commit53a5c423fb77a0befa400b4672ac98cf910db986 (patch)
tree56359dd97463c9d9eed9906716191dfa93d29164 /locale/elem-hash.h
parent2a983a2e0a2da070219a9cc5f4157d9dceee3c88 (diff)
downloadglibc-53a5c423fb77a0befa400b4672ac98cf910db986.tar.gz
glibc-53a5c423fb77a0befa400b4672ac98cf910db986.tar.xz
glibc-53a5c423fb77a0befa400b4672ac98cf910db986.zip
Fix some build warnings
Diffstat (limited to 'locale/elem-hash.h')
-rw-r--r--locale/elem-hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/elem-hash.h b/locale/elem-hash.h
index a308f5d0eb..eb53c1ee38 100644
--- a/locale/elem-hash.h
+++ b/locale/elem-hash.h
@@ -18,7 +18,7 @@
 
 
 /* The hashing function used for the table with collation symbols.  */
-static int32_t
+static int32_t __attribute__ ((pure, unused))
 elem_hash (const char *str, int_fast32_t n)
 {
   int32_t result = n;