diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-08 13:11:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-08 13:11:32 +0000 |
commit | bbd9c406d6f34d028a844a16a04634f9a02217c0 (patch) | |
tree | c1049c14760a60aa3c09f01d81ac748a73d32c3b /re.c | |
parent | 31b7ae00c05aef76416c767df92be45d62e9d06a (diff) | |
download | ruby-bbd9c406d6f34d028a844a16a04634f9a02217c0.tar.gz |
* 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
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |