Remove pointless assert().
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 17 Nov 2008 11:01:55 +0000 (11:01 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Mon, 17 Nov 2008 11:01:55 +0000 (11:01 +0000)
[r23724]

parser.c

index 0ec8d1b..7bfe397 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -6128,7 +6128,6 @@ static void parse_compound_declarators(compound_t *compound,
                        entity_t *prev = find_compound_entry(compound, symbol);
 
                        if (prev != NULL) {
-                               assert(prev->base.symbol == symbol);
                                errorf(&entity->base.source_position,
                                       "multiple declarations of symbol '%Y' (declared %P)",
                                       symbol, &prev->base.source_position);