re PR go/47113 (go_field_alignment: field set but not used)
PR go/47113 * go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to variable ‘field’ . From-SVN: r168373
This commit is contained in:
parent
2e09f014c7
commit
efdfdfa788
@ -1,3 +1,9 @@
|
||||
2010-12-31 Joern Rennecke <amylaar@spamcop.net>
|
||||
|
||||
PR go/47113
|
||||
* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
|
||||
variable ‘field’ .
|
||||
|
||||
2010-12-21 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* Make-lang.in (check-go): Remove.
|
||||
|
@ -53,7 +53,7 @@ go_field_alignment (tree t)
|
||||
|
||||
#ifdef ADJUST_FIELD_ALIGN
|
||||
{
|
||||
tree field;
|
||||
tree field ATTRIBUTE_UNUSED;
|
||||
field = build_decl (UNKNOWN_LOCATION, FIELD_DECL, NULL, t);
|
||||
v = ADJUST_FIELD_ALIGN (field, v);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user