mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* string.c (hash): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6ff613fc09
commit
c5dea4c69d
1 changed files with 2 additions and 0 deletions
2
string.c
2
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
|
||||
|
|
Loading…
Reference in a new issue