projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b53dc1d
)
Resolve redundant declaration warning when parsing the declaration list of k&r functions.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 26 Nov 2008 10:21:12 +0000
(10:21 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 26 Nov 2008 10:21:12 +0000
(10:21 +0000)
[r24010]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
c35ae06
..
e800782
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-4977,6
+4977,7
@@
static entity_t *record_entity(entity_t *entity, const bool is_definition)
= entity->declaration.modifiers;
previous_entity->declaration.deprecated_string
= entity->declaration.deprecated_string;
+ return previous_entity;
}
assert(entity->declaration.type != NULL);