diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-16 13:16:41 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-16 13:16:41 +0000 |
commit | adff6d4477a77eaf03a377d5b37365e8b2b0de04 (patch) | |
tree | 02960ac4b1198ef1f984c546972bd99966d1cfcd | |
parent | 16cd13c05188bf52c5dfb056f02ebf4574bb1bc3 (diff) | |
download | ruby-adff6d4477a77eaf03a377d5b37365e8b2b0de04.tar.gz |
* ext/pathname/pathname.c (path_basename): unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/pathname/pathname.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Aug 16 22:16:12 2010 Tanaka Akira <akr@fsij.org> + + * ext/pathname/pathname.c (path_basename): unused variable removed. + Mon Aug 16 21:39:33 2010 Tanaka Akira <akr@fsij.org> * ext/pathname/pathname.c (path_basename): Pathname#basename translated diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c index 06a904e10e..36e5cb378a 100644 --- a/ext/pathname/pathname.c +++ b/ext/pathname/pathname.c @@ -431,7 +431,6 @@ path_basename(int argc, VALUE *argv, VALUE self) { VALUE str = get_strpath(self); VALUE fext; - int n; if (rb_scan_args(argc, argv, "01", &fext) == 0) str = rb_funcall(rb_cFile, rb_intern("basename"), 1, str); else |