projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e5b0ea
)
Remove pointless assert().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 17 Nov 2008 11:01:55 +0000
(11:01 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 17 Nov 2008 11:01:55 +0000
(11:01 +0000)
[r23724]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/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);