projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8328081
)
Remove wrong symbol from warning messages.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 30 Nov 2008 14:16:26 +0000
(14:16 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 30 Nov 2008 14:16:26 +0000
(14:16 +0000)
[r24159]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
49a40bd
..
f52ce43
100644
(file)
--- 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;