mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Fix a missing label use count decrement.
if statements in dead code weren't being removed due to the label.
This commit is contained in:
parent
24847857ef
commit
8e225cd726
1 changed files with 1 additions and 0 deletions
|
@ -1018,6 +1018,7 @@ statement_bool (sblock_t *sblock, expr_t *e)
|
|||
l = (*s)->e.expr.e1;
|
||||
for (e = (*s)->next; e && e->type == ex_label; e = e->next) {
|
||||
if (e == l) {
|
||||
l->e.label.used--;
|
||||
*s = (*s)->next;
|
||||
l = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue