This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed for unused variable warning
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: john at feith dot com
- Date: Sat, 8 Dec 2001 06:26:24 -0500 (EST)
- Subject: Patch installed for unused variable warning
Fixes:
> rtlanal.c:363: warning: unused variable `j'
Installed as "obvious".
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.12211
diff -u -p -r1.12211 ChangeLog
--- ChangeLog 2001/12/08 11:16:40 1.12211
+++ ChangeLog 2001/12/08 11:21:52
@@ -1,3 +1,7 @@
+2001-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * rtlanal.c (get_jump_table_offset): Delete unused variable.
+
2001-12-08 Richard Earnshaw <rearnsha@arm.com>
* arm.md (VUNSPEC_PREFETCH): Delete constant definition.
Index: rtlanal.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/rtlanal.c,v
retrieving revision 1.117
diff -u -p -r1.117 rtlanal.c
--- rtlanal.c 2001/12/07 16:10:03 1.117
+++ rtlanal.c 2001/12/08 11:21:52
@@ -360,7 +360,6 @@ get_jump_table_offset (insn, earliest)
rtx y;
rtx old_y;
int i;
- int j;
if (GET_CODE (insn) != JUMP_INSN
|| ! (label = JUMP_LABEL (insn))