Patch: today's warning nits
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Fri Jan 14 14:53:00 GMT 2000
Installed:
2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
(asm_emit_uninitialised): Likewise.
diff -rup orig/egcs-CVS20000114/gcc/varasm.c egcs-CVS20000114/gcc/varasm.c
--- orig/egcs-CVS20000114/gcc/varasm.c Thu Jan 6 07:47:30 2000
+++ egcs-CVS20000114/gcc/varasm.c Fri Jan 14 11:41:02 2000
@@ -375,9 +375,9 @@ bss_section ()
static void
asm_output_bss (file, decl, name, size, rounded)
FILE *file;
- tree decl;
+ tree decl ATTRIBUTE_UNUSED;
char *name;
- int size, rounded;
+ int size ATTRIBUTE_UNUSED, rounded;
{
ASM_GLOBALIZE_LABEL (file, name);
bss_section ();
@@ -1232,7 +1232,7 @@ static void
asm_emit_uninitialised (decl, name, size, rounded)
tree decl;
char * name;
- int size;
+ int size ATTRIBUTE_UNUSED;
int rounded ATTRIBUTE_UNUSED;
{
enum
More information about the Gcc-patches
mailing list