mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
bigint.c (mpz_set_int): remove an unused local variable.
This commit is contained in:
@@ -63,8 +63,6 @@ mpz_set_int(mrb_state *mrb, mpz_t *y, mrb_int v)
|
||||
static void
|
||||
mpz_init_set_int(mrb_state *mrb, mpz_t *y, mrb_int v)
|
||||
{
|
||||
mp_limb u;
|
||||
|
||||
y->p = (mp_limb*)mrb_malloc(mrb, sizeof(mp_limb)*2);
|
||||
y->sz = 2;
|
||||
mpz_set_int(mrb, y, v);
|
||||
|
||||
Reference in New Issue
Block a user