diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-29 15:49:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-29 15:49:36 +0000 |
commit | 72276eb06b7d16501bd32821befe9b7803a51302 (patch) | |
tree | 107d8f9418a6105a66a1141669aba548ac9a1208 /ext | |
parent | 07cbc8bce8e4798ff7a356d816f43f5bf115615e (diff) | |
download | ruby-72276eb06b7d16501bd32821befe9b7803a51302.tar.gz |
* remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 2 | ||||
-rw-r--r-- | ext/io/console/console.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index b3360451a9..71f8b23a4a 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -1959,7 +1959,7 @@ is_even(VALUE x) static VALUE rmpd_power_by_big_decimal(Real const* x, Real const* exp, ssize_t const n) { - VALUE log_x, multiplied, y, vn; + VALUE log_x, multiplied, y; if (VpIsZero(exp)) { return ToValue(VpCreateRbObject(n, "1")); diff --git a/ext/io/console/console.c b/ext/io/console/console.c index 87101fea5e..6fa0e906ac 100644 --- a/ext/io/console/console.c +++ b/ext/io/console/console.c @@ -557,7 +557,7 @@ console_dev(VALUE klass) VALUE out; rb_io_t *ofptr; #endif - int fd, mode; + int fd; #ifdef CONSOLE_DEVICE_FOR_WRITING fd = open(CONSOLE_DEVICE_FOR_WRITING, O_WRONLY); |