From bbd9c406d6f34d028a844a16a04634f9a02217c0 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 8 Sep 2009 13:11:32 +0000 Subject: [PATCH] * 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 --- re.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re.c b/re.c index c75c5b3381..2d7ea2c4c3 100644 --- a/re.c +++ b/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); }