From: Christoph Mallon Date: Wed, 26 Nov 2008 10:21:12 +0000 (+0000) Subject: Resolve redundant declaration warning when parsing the declaration list of k&r functions. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=f7597cf6c52838d8ce688a3eae0961f3c955747a;p=cparser Resolve redundant declaration warning when parsing the declaration list of k&r functions. [r24010] --- diff --git a/parser.c b/parser.c index c35ae06..e800782 100644 --- 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);