mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +00:00
More empty block checks.
This commit is contained in:
parent
6e7aaac1b9
commit
4f8b3b5692
1 changed files with 2 additions and 0 deletions
|
@ -1310,6 +1310,8 @@ merge_blocks (sblock_t *blocks)
|
|||
break;
|
||||
if (!sb) // dest is
|
||||
internal_error (0, "dangling label");
|
||||
if (!sb->statements)
|
||||
continue;
|
||||
s = (statement_t *) sb->tail;
|
||||
if (!is_goto (s) && !is_return (s))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue