summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-13 09:58:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-13 09:58:57 +0000
commit246800d42bf1cb6d2031491ebb26c999b19ddeea (patch)
tree031473b957edcefd47f4108b899ec88b69bf8aa9 /file.c
parent937092b8203c373c919a6f307f91e17d4bec5bb1 (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/file.c b/file.c
index c3828b7..9996423 100644
--- a/file.c
+++ b/file.c
@@ -1755,7 +1755,6 @@ rb_file_s_basename(argc, argv)
if (NIL_P(fext) || !(f = rmext(p, ext))) {
f = chompdirsep(p) - p;
}
- basename = rb_str_new(p, f);
}
basename = rb_str_new(p, f);
OBJ_INFECT(basename, fname);