diff --git a/sourcepawn/compiler/sc1.c b/sourcepawn/compiler/sc1.c index f06d1b58..e0d9969d 100644 --- a/sourcepawn/compiler/sc1.c +++ b/sourcepawn/compiler/sc1.c @@ -5973,12 +5973,6 @@ static int doif(void) setlabel(flab1); /* print false label */ statement(NULL,FALSE); /* do "else" clause */ setlabel(flab2); /* print true label */ - /* if both the "true" branch and the "false" branch ended with the same - * kind of statement, set the last statement id to that kind, rather than - * to the generic tIF; this allows for better "unreachable code" checking - */ - if (lastst==lastst_true) - return lastst; } /* if */ return tIF; }