summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 587d96d4565..22dba86c8bc 100644
--- a/dir.c
+++ b/dir.c
@@ -912,7 +912,7 @@ rb_push_glob(str, flags)
VALUE ary;
if (rb_block_given_p())
- ary = Qnil;
+ ary = 0;
else
ary = rb_ary_new();