summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/dir.c b/dir.c
index 4f283fccfc..13176f4cc5 100644
--- a/dir.c
+++ b/dir.c
@@ -939,9 +939,6 @@ dir_s_glob(dir, str)
if (buf != buffer)
free(buf);
if (ary) {
- if (RARRAY(ary)->len == 0) {
- rb_warning("no matches found: %s", RSTRING(str)->ptr);
- }
return ary;
}
return Qnil;