diff --git a/tools/qfcc/source/emit.c b/tools/qfcc/source/emit.c index 2e5a96de2..bc2f3eb43 100644 --- a/tools/qfcc/source/emit.c +++ b/tools/qfcc/source/emit.c @@ -110,7 +110,8 @@ emit_statement (expr_t *e, opcode_t *op, def_t *var_a, def_t *var_b, statement->a = var_a ? var_a->ofs : 0; statement->b = var_b ? var_b->ofs : 0; statement->c = 0; - if (op->type_c == ev_invalid || op->right_associative) { + if (op->type_c == ev_invalid || op->right_associative + || op->opcode == OP_DONE/*stupid opcode*/) { // ifs, gotos, and assignments don't need vars allocated if (var_c) statement->c = var_c->ofs;