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:
parent
07cbc8bce8
commit
72276eb06b
2 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue