Remove pointless skip loop: intern_parse_statement() only returns a single statement.
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 26 Apr 2012 12:37:10 +0000 (14:37 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 26 Apr 2012 13:19:18 +0000 (15:19 +0200)
parser.c

index 06efe47..b1db357 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -10177,11 +10177,7 @@ static statement_t *parse_compound_statement(bool inside_expression_statement)
                }
 
                *anchor = sub_statement;
-
-               while (sub_statement->base.next != NULL)
-                       sub_statement = sub_statement->base.next;
-
-               anchor = &sub_statement->base.next;
+               anchor  = &sub_statement->base.next;
        }
        next_token();