valueset: Remove the unused link field.
[libfirm] / ir / adt / bipartite.c
index 16530a1..0115c3a 100644 (file)
@@ -21,7 +21,6 @@
  * @file
  * @brief   Specialized implementation for perfect bipartite matching.
  * @author  Sebastian Hack
- * @version $Id$
  */
 #include "config.h"
 
@@ -32,7 +31,7 @@
 #include "bipartite.h"
 #include "xmalloc.h"
 
-struct _bipartite_t {
+struct bipartite_t {
        int n_left, n_right;
        bitset_t *adj[1];
 };
@@ -150,7 +149,8 @@ void bipartite_matching(const bipartite_t *gr, int *matching)
        bitset_t *matched_right = bitset_alloca(gr->n_right);
 
        memset(matching, -1, gr->n_left * sizeof(int));
-       while (apply_alternating_path(gr, matching, matched_left, matched_right));
+       while (apply_alternating_path(gr, matching, matched_left, matched_right)) {
+       }
 }
 
 void bipartite_dump_f(FILE *f, const bipartite_t *gr)