Patchwork [M68K] Remove set but not used variable

login
register
mail settings
Submitter Andreas Schwab
Date July 2, 2010, 8:17 p.m.
Message ID <m24oghljta.fsf@igel.home>
Download mbox | patch
Permalink /patch/57773/
State New
Headers show

Comments

Andreas Schwab - July 2, 2010, 8:17 p.m.
The dataflow merge introduced this set but not used variable.

Andreas.

2010-07-02  Andreas Schwab  <schwab@linux-m68k.org>

	PR target/44771
	* config/m68k/m68k.c (m68k_expand_prologue): Remove set but not
	used variable insn.

Patch

Index: config/m68k/m68k.c
===================================================================
--- config/m68k/m68k.c	(revision 161740)
+++ config/m68k/m68k.c	(working copy)
@@ -1042,7 +1042,7 @@  void
 m68k_expand_prologue (void)
 {
   HOST_WIDE_INT fsize_with_regs;
-  rtx limit, src, dest, insn;
+  rtx limit, src, dest;
 
   m68k_compute_frame_layout ();
 
@@ -1185,7 +1185,7 @@  m68k_expand_prologue (void)
 
   if (!TARGET_SEP_DATA
       && crtl->uses_pic_offset_table)
-    insn = emit_insn (gen_load_got (pic_offset_table_rtx));
+    emit_insn (gen_load_got (pic_offset_table_rtx));
 }
 
 /* Return true if a simple (return) instruction is sufficient for this