const oper_info *op;
lex_ctx_t ctx;
ast_expression *out = nullptr;
- ast_expression *exprs[3];
+ ast_expression *exprs[3] = { 0, 0, 0 };
ast_block *blocks[3];
ast_binstore *asbinstore;
size_t i, assignop, addop, subop;
* The reallocate function for resizing vectors.
*/
void _util_vec_grow(void **a, size_t i, size_t s) {
- vector_t *d = vec_meta(*a);
+ vector_t *d = nullptr;
size_t m = 0;
void *p = nullptr;
if (*a) {
+ d = vec_meta(*a);
m = 2 * d->allocated + i;
p = mem_r(d, s * m + sizeof(vector_t));
} else {