summaryrefslogtreecommitdiffstats
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
commit2926211cfdd1d02990561c9b9483ee60caaabf4d (patch)
tree8ee3dafebb7e958a7eaa9a7b70d8483ea63e7c69 /string.c
parent9ec8b30102303bd6be87645976d563d12b81d794 (diff)
downloadruby-2926211cfdd1d02990561c9b9483ee60caaabf4d.tar.gz
ruby-2926211cfdd1d02990561c9b9483ee60caaabf4d.tar.xz
ruby-2926211cfdd1d02990561c9b9483ee60caaabf4d.zip
* string.c (hash): suppress a warning.
git-svn-id: http://svn.ruby-lang.org/repos/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 fe85148d8..7781fa4b7 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