aboutsummaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index f98b24e4e3..74226d7e32 100644
--- a/vm.c
+++ b/vm.c
@@ -396,7 +396,7 @@ vm_stat(int argc, VALUE *argv, VALUE self)
else
rb_raise(rb_eTypeError, "non-hash or symbol given");
}
- else if (NIL_P(arg)) {
+ else {
hash = rb_hash_new();
}