diff --git a/tools/qfcc/source/statements.c b/tools/qfcc/source/statements.c index 013e067f5..e0fa3eb77 100644 --- a/tools/qfcc/source/statements.c +++ b/tools/qfcc/source/statements.c @@ -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;