Commit ee17bfcd authored by yb9976's avatar yb9976
Browse files

Cleanup using C99.

parent 183e01e3
...@@ -127,10 +127,8 @@ void local_optimize_graph(ir_graph *irg) ...@@ -127,10 +127,8 @@ void local_optimize_graph(ir_graph *irg)
*/ */
static void opt_walker(ir_node *n, void *env) static void opt_walker(ir_node *n, void *env)
{ {
pdeq *waitq = (pdeq*)env; pdeq *waitq = (pdeq *)env;
ir_node *optimized; ir_node *optimized = optimize_in_place_2(n);
optimized = optimize_in_place_2(n);
set_irn_link(optimized, NULL); set_irn_link(optimized, NULL);
if (optimized != n) { if (optimized != n) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment