summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
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 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;