diff -r 0c6556a8e105 -r 716b220697a0 lemon/list_graph.h --- a/lemon/list_graph.h Fri Jun 20 11:09:30 2008 +0100 +++ b/lemon/list_graph.h Thu Mar 27 16:27:23 2008 +0100 @@ -115,7 +115,7 @@ int n; for(n = first_node; n!=-1 && nodes[n].first_in == -1; - n = nodes[n].next); + n = nodes[n].next) {} arc.id = (n == -1) ? -1 : nodes[n].first_in; } @@ -125,8 +125,8 @@ } else { int n; for(n = nodes[arcs[arc.id].target].next; - n!=-1 && nodes[n].first_in == -1; - n = nodes[n].next); + n!=-1 && nodes[n].first_in == -1; + n = nodes[n].next) {} arc.id = (n == -1) ? -1 : nodes[n].first_in; } }