summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyilp2.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-07-20 10:24:00 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2012-07-20 10:25:51 +0200
commit43b545e3269a432382c13559abc75c15ebde83e7 (patch)
tree85faf7a58eceb00aafe0a49f6554d087d41d841c /ir/be/becopyilp2.c
parent337762aba778a059962d1426577c8a5269b51a57 (diff)
Let list_for_each_entry(), list_for_each_entry_reverse() and list_for_each_entry_safe() declare their iterator variables.
Diffstat (limited to 'ir/be/becopyilp2.c')
-rw-r--r--ir/be/becopyilp2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c
index 504cf10..32a0395 100644
--- a/ir/be/becopyilp2.c
+++ b/ir/be/becopyilp2.c
@@ -240,7 +240,6 @@ static void make_affinity_var_name(char *buf, size_t buf_size,
static void build_affinity_cstr(ilp_env_t *ienv)
{
unsigned n_colors = arch_register_class_n_regs(ienv->co->cls);
- unit_t *curr;
/* for all optimization units */
list_for_each_entry(unit_t, curr, &ienv->co->units, units) {