mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
fix a slew of false positives with unused var checking
This commit is contained in:
parent
c8ab7d04ef
commit
2054ec016a
1 changed files with 2 additions and 2 deletions
|
@ -56,11 +56,11 @@ emit_statement (int sline, opcode_t *op, def_t *var_a, def_t *var_b, def_t *var_
|
|||
}
|
||||
if (var_b) {
|
||||
var_b->users--;
|
||||
var_a->used = 1;
|
||||
var_b->used = 1;
|
||||
}
|
||||
if (var_c) {
|
||||
var_c->users--;
|
||||
var_a->used = 1;
|
||||
var_c->used = 1;
|
||||
}
|
||||
PR_AddStatementRef (var_a, statement, 0);
|
||||
PR_AddStatementRef (var_b, statement, 1);
|
||||
|
|
Loading…
Reference in a new issue