vm_trace.c: remove meaningless assingments
* vm_trace.c (call_trace_func): remove meaningless assingments to same variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4a4a702e61
commit
78f8ad683b
@ -510,11 +510,7 @@ call_trace_func(rb_event_flag_t event, VALUE proc, VALUE self, ID id, VALUE klas
|
|||||||
int line = rb_sourceline();
|
int line = rb_sourceline();
|
||||||
rb_thread_t *th = GET_THREAD();
|
rb_thread_t *th = GET_THREAD();
|
||||||
|
|
||||||
if (klass != 0) {
|
if (!klass) {
|
||||||
id = id;
|
|
||||||
klass = klass;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
rb_thread_method_id_and_class(th, &id, &klass);
|
rb_thread_method_id_and_class(th, &id, &klass);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user