summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-21 06:26:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-21 06:26:51 +0000
commitc5dea4c69d0cd357f277a9607319802ef34fec8a (patch)
tree8ee3dafebb7e958a7eaa9a7b70d8483ea63e7c69 /string.c
parent6ff613fc091549f3bcd3e49ee9f6dc8222f62147 (diff)
* string.c (hash): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/string.c b/string.c
index fe85148d84..7781fa4b7e 100644
--- a/string.c
+++ b/string.c
@@ -2038,7 +2038,9 @@ hash(const unsigned char * data, int len, unsigned int h)
#if MURMUR == 1
h = murmur_step(h, t);
#elif MURMUR == 2
+# if !UNALIGNED_WORD_ACCESS
skip_tail:
+# endif
h ^= t;
h *= MurmurMagic;
#endif