Patchwork Committed: Fix PR go/47113

login
register
mail settings
Submitter Joern Rennecke
Date Dec. 31, 2010, 12:28 p.m.
Message ID <20101231072841.9f7x6agis00oo0s0-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/77074/
State New
Headers show

Comments

Joern Rennecke - Dec. 31, 2010, 12:28 p.m.
Teted for x86_64-pc-linux-gnu X
powerpc-darwin8 powerpc-darwin7 powerpc64-darwin .

Committed as obvious.
2010-12-31  Joern Rennecke  <amylaar@spamcop.net>

	PR go/47113
	* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
	variable ‘field’ .

Patch

Index: go/go-backend.c
===================================================================
--- go/go-backend.c	(revision 168370)
+++ go/go-backend.c	(working copy)
@@ -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);
   }