diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-02 16:28:50 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-02 16:28:50 +0000 |
commit | ea0bc53ec3a968d86eb64507ce51577c7f7bceec (patch) | |
tree | 6db8ea5338dbfc95f0f2224ffc0d985fbd5c31b2 /vm_method.c | |
parent | 6697ade6576530afecf628cb0f07b68150a53179 (diff) |
* 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
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c index edcaeed6ac..8afc39901e 100644 --- a/vm_method.c +++ b/vm_method.c @@ -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; |