1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* remove unused variables.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-07-29 15:49:36 +00:00
parent 07cbc8bce8
commit 72276eb06b
2 changed files with 2 additions and 2 deletions

View file

@ -1959,7 +1959,7 @@ is_even(VALUE x)
static VALUE static VALUE
rmpd_power_by_big_decimal(Real const* x, Real const* exp, ssize_t const n) 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)) { if (VpIsZero(exp)) {
return ToValue(VpCreateRbObject(n, "1")); return ToValue(VpCreateRbObject(n, "1"));

View file

@ -557,7 +557,7 @@ console_dev(VALUE klass)
VALUE out; VALUE out;
rb_io_t *ofptr; rb_io_t *ofptr;
#endif #endif
int fd, mode; int fd;
#ifdef CONSOLE_DEVICE_FOR_WRITING #ifdef CONSOLE_DEVICE_FOR_WRITING
fd = open(CONSOLE_DEVICE_FOR_WRITING, O_WRONLY); fd = open(CONSOLE_DEVICE_FOR_WRITING, O_WRONLY);