diff mbox

Committed: ATTRIBUTE_UNUSED for asm_output_bss

Message ID 20101104155314.o1skvx8aasg44kwo-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

Joern Rennecke Nov. 4, 2010, 7:53 p.m. UTC
The --enable-werror-always build for h8300-elf found this static function
defined but not used.

bootstrapped on i686-pc-linux-gnu

Checked in as obvious.
2010-11-04  Joern Rennecke  <amylaar@spamcop.net>

	PR bootstrap/44756
	* varasm.c (asm_output_bss): Add ATTRIBUTE_UNUSED to function.
diff mbox

Patch

Index: varasm.c
===================================================================
--- varasm.c	(revision 166313)
+++ varasm.c	(working copy)
@@ -473,7 +473,7 @@  resolve_unique_section (tree decl, int r
    ??? It is believed that this function will work in most cases so such
    support is localized here.  */
 
-static void
+static void ATTRIBUTE_UNUSED
 asm_output_bss (FILE *file, tree decl ATTRIBUTE_UNUSED,
 		const char *name,
 		unsigned HOST_WIDE_INT size ATTRIBUTE_UNUSED,