diff mbox

[committed] Trivial warning fix for mips.c

Message ID 87hbgummlw.fsf@firetop.home
State New
Headers show

Commit Message

Richard Sandiford Oct. 10, 2010, 9:19 a.m. UTC
A recent patch introduced an "unused parameter" warning in mips.c
Fixed with the trivial patch below.  Tested on mips64octeon-linux-gnu
and applied.

Richard


gcc/
	* config/mips/mips.c (mips_handle_option): Make "value" with
	ATTRIBUTE_UNUSED.
diff mbox

Patch

Index: gcc/config/mips/mips.c
===================================================================
--- gcc/config/mips/mips.c	2010-10-10 10:14:29.000000000 +0100
+++ gcc/config/mips/mips.c	2010-10-10 10:14:31.000000000 +0100
@@ -15441,7 +15441,7 @@  mips_set_tune (const struct mips_cpu_inf
 /* Implement TARGET_HANDLE_OPTION.  */
 
 static bool
-mips_handle_option (size_t code, const char *arg, int value)
+mips_handle_option (size_t code, const char *arg, int value ATTRIBUTE_UNUSED)
 {
   switch (code)
     {