diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-19 01:24:50 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-19 01:24:50 +0000 |
commit | 3daa9b9f5aa705169f9d6fb672d7814749471493 (patch) | |
tree | 13c6527de906b627a693e5a186b692d0eb20ab92 /vm_insnhelper.c | |
parent | f2a9c42c7aa666b70286045570c42b7884257550 (diff) |
* vm_insnhelper.c (vm_search_method): remove needless local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 17753d383c..09e5e6390b 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -843,15 +843,13 @@ static void vm_search_method(rb_call_info_t *ci, VALUE recv) { VALUE klass = CLASS_OF(recv); - rb_method_entry_t *me; #if OPT_INLINE_METHOD_CACHE if (LIKELY(GET_VM_STATE_VERSION() == ci->vmstat && klass == ci->klass)) { /* cache hit! */ } else { - me = rb_method_entry(klass, ci->mid, &ci->defined_class); - ci->me = me; + ci->me = rb_method_entry(klass, ci->mid, &ci->defined_class); ci->klass = klass; ci->vmstat = GET_VM_STATE_VERSION(); ci->call = vm_call_general; |