about summary refs log tree commit diff
path: root/locale/elem-hash.h
diff options
context:
space:
mode:
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;