From: Christoph Mallon Date: Sun, 30 Nov 2008 14:16:26 +0000 (+0000) Subject: Remove wrong symbol from warning messages. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=5f048e4b24b5ed336e95843a3f580873c82383fa;p=cparser Remove wrong symbol from warning messages. [r24159] --- diff --git a/parser.c b/parser.c index 49a40bd..f52ce43 100644 --- a/parser.c +++ b/parser.c @@ -3557,13 +3557,11 @@ static void finish_struct_type(compound_type_t *type) need_pad = true; if (warning.padded && need_pad) { - warningf(&compound->base.source_position, - "'%#T' needs padding", type, compound->base.symbol); + warningf(&compound->base.source_position, "'%T' needs padding", type); } if (warning.packed && !need_pad) { warningf(&compound->base.source_position, - "superfluous packed attribute on '%#T'", - type, compound->base.symbol); + "superfluous packed attribute on '%T'", type); } type->base.size = offset;