mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* re.c (rb_reg_hash): must calculate hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
31b7ae00c0
commit
bbd9c406d6
1 changed files with 1 additions and 1 deletions
2
re.c
2
re.c
|
@ -2496,7 +2496,7 @@ static st_index_t reg_hash(VALUE re);
|
|||
static VALUE
|
||||
rb_reg_hash(VALUE re)
|
||||
{
|
||||
st_index_t hashval;
|
||||
st_index_t hashval = reg_hash(re);
|
||||
return LONG2FIX(hashval);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue