mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
ensure all instructions are fully initialized.
This commit is contained in:
parent
bf61415e7c
commit
1dc4683961
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ emit_statement (expr_t *e, opcode_t *op, def_t *var_a, def_t *var_b,
|
|||
statement->op = op->opcode;
|
||||
statement->a = var_a ? var_a->ofs : 0;
|
||||
statement->b = var_b ? var_b->ofs : 0;
|
||||
statement->c = 0;
|
||||
if (op->type_c == ev_void || op->right_associative) {
|
||||
// ifs, gotos, and assignments don't need vars allocated
|
||||
if (var_c)
|
||||
|
|
Loading…
Reference in a new issue