aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 499edfbbbf..139c320733 100644
--- a/eval.c
+++ b/eval.c
@@ -283,7 +283,7 @@ ruby_eval_main_internal(VALUE iseqval, VALUE* result)
});
}
POP_TAG();
- *result = state ? th->errinfo : retval;
+ *result = state ? th->errinfo : retval;
return state;
}