From b57bf12f0be61eaba777e7f56926bb750a21d7f9 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Mon, 2 Jun 2008 15:07:02 +0000 Subject: [PATCH] Fix incorrect format check warnings. [r19943] --- parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser.c b/parser.c index c007479..51e5bdd 100644 --- a/parser.c +++ b/parser.c @@ -5890,8 +5890,6 @@ static expression_t *parse_call_expression(unsigned precedence, } } - check_format(&result->call); - /* do default promotion */ for( ; argument != NULL; argument = argument->next) { type_t *type = argument->expression->base.type; @@ -5902,6 +5900,8 @@ static expression_t *parse_call_expression(unsigned precedence, = create_implicit_cast(argument->expression, type); } + check_format(&result->call); + return result; end_error: return create_invalid_expression(); -- 2.20.1