summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-08-27 20:40:42 +0000
committerJakub Jelinek <jakub@redhat.com>2007-08-27 20:40:42 +0000
commit8d599f5ab190dfb8a394104c4dc0d39c90f19093 (patch)
treec46dd272dde92188874882c675c01b017958fbbb /locale
parent9abaa7d89fe873eeebda1bd227fde5d5bd6ab332 (diff)
Updated to fedora-glibc-20070827T2032
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/ld-collate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index 09237ea38c..feab034740 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -2518,7 +2518,9 @@ collate_output (struct localedef_t *locale, const struct charmap_t *charmap,
uint32_t namelen = strlen (runp->name);
uint32_t hash = elem_hash (runp->name, namelen);
size_t idx = hash % elem_size;
+#ifndef NDEBUG
size_t start_idx = idx;
+#endif
if (elem_table[idx * 2] != 0)
{