From f7597cf6c52838d8ce688a3eae0961f3c955747a Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Wed, 26 Nov 2008 10:21:12 +0000 Subject: [PATCH] Resolve redundant declaration warning when parsing the declaration list of k&r functions. [r24010] --- parser.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.20.1