summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-22 05:42:27 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-22 05:42:27 +0000
commitc8f2479c6b50e3547f3f0bd48dfa3d9dca639e29 (patch)
treeb110f557227f30ba75c58809e73777cfb3e982ad /vm_method.c
parent18488c1117dfcb492694b2733cd96dba3602aae3 (diff)
merge revision(s) 32688,33309,33408,33864,35874,38012: [Backport #7832]
* vm_method.c (rb_gc_mark_unlinked_live_method_entries): remove unused variables. * vm_insnhelper.c (vm_call_cfunc): suppress a warning. note that `volatile type *var' doesn't make var itself volatile. * vm_insnhelper.c (vm_call_cfunc): remove useless hack. * regparse.c (onig_number_of_names): suppress a warning. * gc.c : remove a unused function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index 6e336036e8..85cb30ca87 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -99,7 +99,7 @@ void
rb_gc_mark_unlinked_live_method_entries(void *pvm)
{
rb_vm_t *vm = pvm;
- struct unlinked_method_entry_list_entry *ume = vm->unlinked_method_entry_list, *prev_ume = 0, *curr_ume;
+ struct unlinked_method_entry_list_entry *ume = vm->unlinked_method_entry_list;
while (ume) {
if (ume->me->mark) {