summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-18 16:48:47 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-18 16:48:47 +0000
commitb39b7a64c7c43303e88728cbb3d16af7475719b8 (patch)
treea06b74d5c1907416cc837ce2ae8d2e9c478900a7 /gcc
parent7d99a199519b7771c9552db92b6cd55214aad549 (diff)
downloadgcc-b39b7a64c7c43303e88728cbb3d16af7475719b8.tar.gz
Remove unused local variables.
2010-06-18 H.J. Lu <hongjiu.lu@intel.com> * stor-layout.c (debug_rli): Remove unused local variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161008 138bc75d-0d04-0410-961f-82ee72b054a4
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);
}