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 /ext | |
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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pathname/pathname.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 |