fixed typo
[libfirm] / ir / be / besched_t.h
index d4ae355..0d37f86 100644 (file)
@@ -55,8 +55,6 @@ static INLINE int _sched_get_time_step(const ir_node *irn)
  */
 static INLINE int to_appear_in_schedule(ir_node *irn)
 {
-  int i, n;
-
   if(get_irn_opcode(irn) == iro_Start)
        return 1;
 
@@ -207,11 +205,12 @@ static INLINE void _sched_remove(ir_node *irn)
 {
   sched_info_t *info = get_irn_sched_info(irn);
   list_del(&info->list);
+       INIT_LIST_HEAD(&info->list);
   info->scheduled = 0;
 }
 
 /**
- * Check, if thenode is scheduled.
+ * Check, if the node is scheduled.
  * @param irn The node.
  * @return 1, if the node is scheduled, 0 if not.
  */