mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_method.c (rb_method_definition_set): remove a double assignment.
Coverity Scan found this bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6697ade657
commit
ea0bc53ec3
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Jun 3 01:10:38 2015 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* vm_method.c (rb_method_definition_set): remove a double assignment.
|
||||
Coverity Scan found this bug.
|
||||
|
||||
Wed Jun 3 00:04:51 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_method.c (rb_alias): rename parameter names.
|
||||
|
|
|
@ -251,7 +251,7 @@ rb_method_definition_set(rb_method_definition_t *def, void *opts)
|
|||
case VM_METHOD_TYPE_ATTRSET:
|
||||
case VM_METHOD_TYPE_IVAR:
|
||||
{
|
||||
rb_thread_t *th = th = GET_THREAD();
|
||||
rb_thread_t *th = GET_THREAD();
|
||||
rb_control_frame_t *cfp;
|
||||
int line;
|
||||
|
||||
|
|
Loading…
Reference in a new issue