summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespill.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-13 10:12:55 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-13 10:12:55 +0100
commit1b9805188655599d297e3fd36fe4d20017b33263 (patch)
tree5813c878df4215a6f6857279bbee76b6a267376b /ir/be/bespill.c
parenta9132de4425fe5540d316e1a2c7fd37635464514 (diff)
Let be_foreach_definition() declare the value variable.
Diffstat (limited to 'ir/be/bespill.c')
-rw-r--r--ir/be/bespill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bespill.c b/ir/be/bespill.c
index 00e0798..f56b745 100644
--- a/ir/be/bespill.c
+++ b/ir/be/bespill.c
@@ -63,7 +63,6 @@ static void prepare_constr_insn(be_pre_spill_env_t *env, ir_node *node)
unsigned *tmp = NULL;
unsigned *def_constr = NULL;
int arity = get_irn_arity(node);
- ir_node *def;
int i, i2;
@@ -153,6 +152,7 @@ static void prepare_constr_insn(be_pre_spill_env_t *env, ir_node *node)
/* collect all registers occurring in out constraints. */
be_foreach_definition(node, cls, def,
+ (void)def;
if (! (req_->type & arch_register_req_type_limited))
continue;
if (def_constr == NULL) {