aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 43404a91ab..964d30270d 100644
--- a/eval.c
+++ b/eval.c
@@ -2289,7 +2289,7 @@ avalue_to_svalue(v)
VALUE tmp, top;
tmp = rb_check_array_type(v);
- if (NIL_P(v)) {
+ if (NIL_P(tmp)) {
return v;
}
if (RARRAY(tmp)->len == 0) {
@@ -5761,7 +5761,6 @@ rb_load(fname, wrap)
rb_load_file(RSTRING(fname)->ptr);
ruby_in_eval--;
node = ruby_eval_tree;
- ALLOW_INTS;
rb_thread_critical = critical;
if (ruby_nerrs == 0) {
eval_node(self, node);