diff mbox

Restore MIPS builds

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

Commit Message

Richard Sandiford May 17, 2011, 8:03 p.m. UTC
I've applied the patch below to restore -Werror MIPS builds.
Tested on mips64-linux-gnu.

Richard


gcc/
	* config/mips/mips.c (mips_handle_option): Remove unused variable.
diff mbox

Patch

Index: gcc/config/mips/mips.c
===================================================================
--- gcc/config/mips/mips.c	2011-05-15 08:37:21.000000000 +0100
+++ gcc/config/mips/mips.c	2011-05-15 08:37:28.000000000 +0100
@@ -15287,7 +15287,6 @@  mips_handle_option (struct gcc_options *
 		    location_t loc ATTRIBUTE_UNUSED)
 {
   size_t code = decoded->opt_index;
-  const char *arg = decoded->arg;
 
   switch (code)
     {