summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-06 03:27:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-06 03:27:16 +0000
commit0c493edcce15d30f09d18fe451c458014be02996 (patch)
tree0dfcf2f13d051cfc2a5e0649200a7d062f987d93 /ext
parent0496299e1597826a1ae60bb0f1f997baa12a0743 (diff)
merge revision(s) 32747:
* remove unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/bigdecimal/bigdecimal.c2
-rw-r--r--ext/io/console/console.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index d9f72018ef..1dc2f15900 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -1978,7 +1978,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);