summaryrefslogtreecommitdiffhomepage
path: root/ir/be/besched.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-05-16 14:04:51 +0200
committerMatthias Braun <matze@braunis.de>2014-05-16 18:28:23 +0200
commit45449d34b7b0a848023391274bea523d0d605401 (patch)
tree4640d44e6f56f59bd4babcfdf2fb54d401f372f4 /ir/be/besched.c
parent4fb44f3d169029f44aa184f3b37f717bee04514f (diff)
cleanup, use C99
Diffstat (limited to 'ir/be/besched.c')
-rw-r--r--ir/be/besched.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/besched.c b/ir/be/besched.c
index 336898d..cc89ca5 100644
--- a/ir/be/besched.c
+++ b/ir/be/besched.c
@@ -31,11 +31,10 @@
static void sched_renumber(ir_node *const block)
{
- sched_info_t *inf;
sched_timestep_t step = SCHED_INITIAL_GRANULARITY;
sched_foreach(block, irn) {
- inf = get_irn_sched_info(irn);
+ sched_info_t *inf = get_irn_sched_info(irn);
inf->time_step = step;
step += SCHED_INITIAL_GRANULARITY;
}