Initialise some variables to keep gcc happy.
This commit is contained in:
1 parent
134b062be7
commit
71ab537ee9
2 files changed
+2
-2
No files matched your search
@@ -527,7 +527,7 @@ static int compile(struct locfile* locations, struct bytecode* bc, block b) {
|
|||||||
int nargs = curr->imm.intval;
|
int nargs = curr->imm.intval;
|
||||||
assert(nargs > 0);
|
assert(nargs > 0);
|
||||||
code[pos++] = (uint16_t)nargs;
|
code[pos++] = (uint16_t)nargs;
|
||||||
int desired_params;
|
int desired_params = 0;
|
||||||
for (int i=0; i<nargs; i++) {
|
for (int i=0; i<nargs; i++) {
|
||||||
curr = curr->next;
|
curr = curr->next;
|
||||||
assert(curr && opcode_describe(curr->op)->flags & OP_IS_CALL_PSEUDO);
|
assert(curr && opcode_describe(curr->op)->flags & OP_IS_CALL_PSEUDO);
|
||||||
|
|||||||
@@ -2120,7 +2120,7 @@ bigcomp
|
|||||||
(struct dtoa_context* C, U *rv, const char *s0, BCinfo *bc)
|
(struct dtoa_context* C, U *rv, const char *s0, BCinfo *bc)
|
||||||
{
|
{
|
||||||
Bigint *b, *d;
|
Bigint *b, *d;
|
||||||
int b2, bbits, d2, dd, dig, dsign, i, j, nd, nd0, p2, p5, speccase;
|
int b2, bbits, d2, dd=0, dig, dsign, i, j, nd, nd0, p2, p5, speccase;
|
||||||
|
|
||||||
dsign = bc->dsign;
|
dsign = bc->dsign;
|
||||||
nd = bc->nd;
|
nd = bc->nd;
|
||||||
|
|||||||
Reference in new issue
Block a user