summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/stor-layout.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d03212cc865..85fec49466b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-18 H.J. Lu <hongjiu.lu@intel.com>
+
+ * stor-layout.c (debug_rli): Remove unused local variables.
+
2010-06-18 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/40900
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 7e144325a55..89f5fa986a7 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -829,8 +829,6 @@ debug_rli (record_layout_info rli)
if (!VEC_empty (tree, rli->pending_statics))
{
- unsigned ix;
- tree t;
fprintf (stderr, "pending statics:\n");
debug_vec_tree (rli->pending_statics);
}