зеркало из https://github.com/github/ruby.git
* 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:
Родитель
07cbc8bce8
Коммит
72276eb06b
|
@ -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);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче