This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] tree-cfg.c: Remove a local variable that is set but notused.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 13 Mar 2005 10:55:10 -0500 (EST)
- Subject: [patch] tree-cfg.c: Remove a local variable that is set but notused.
Hi,
Attached is a patch to remove a local variable that is set but not
used.
Bootstrapped on i686-pc-linux-gnu. Committed as obvious.
Kazu Hirata
2005-03-13 Kazu Hirata <kazu@cs.umass.edu>
* tree-cfg.c (group_case_labels): Remove local variable type.
Index: tree-cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-cfg.c,v
retrieving revision 2.160
diff -u -d -p -r2.160 tree-cfg.c
--- tree-cfg.c 12 Mar 2005 20:53:18 -0000 2.160
+++ tree-cfg.c 13 Mar 2005 00:33:59 -0000
@@ -1189,7 +1189,7 @@ group_case_labels (void)
i = 0;
while (i < old_size - 1)
{
- tree base_case, base_label, base_high, type;
+ tree base_case, base_label, base_high;
base_case = TREE_VEC_ELT (labels, i);
gcc_assert (base_case);
@@ -1205,7 +1205,6 @@ group_case_labels (void)
continue;
}
- type = TREE_TYPE (CASE_LOW (base_case));
base_high = CASE_HIGH (base_case) ?
CASE_HIGH (base_case) : CASE_LOW (base_case);
i++;