aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--file.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c6958670f..b99205aafc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue May 6 04:31:48 2014 Tadayoshi Funaba <tadf@dotrb.org>
+
+ * file.c (rb_f_test): removed meaningless "case 'a'".
+
Tue May 6 01:28:14 2014 Tanaka Akira <akr@fsij.org>
* lib/open-uri.rb (OpenURI.open_uri): Call StringIO#close only if
diff --git a/file.c b/file.c
index dcadfa2da7..62fb6619f9 100644
--- a/file.c
+++ b/file.c
@@ -4604,7 +4604,6 @@ rb_f_test(int argc, VALUE *argv)
case 'd':
return rb_file_directory_p(0, argv[1]);
- case 'a':
case 'e':
return rb_file_exist_p(0, argv[1]);