test/fractional_matching_test.cc
changeset 1160 00f8d9f9920d
parent 956 141f9c0db4a3
child 1260 a337a0dd3f75
     1.1 --- a/test/fractional_matching_test.cc	Thu Sep 13 11:56:19 2012 +0200
     1.2 +++ b/test/fractional_matching_test.cc	Thu Sep 13 12:02:27 2012 +0200
     1.3 @@ -342,6 +342,7 @@
     1.4        check(indeg == 1, "Invalid matching");
     1.5        pv += weight[mwfm.matching(n)];
     1.6        SmartGraph::Node o = graph.target(mwfm.matching(n));
     1.7 +      ignore_unused_variable_warning(o);
     1.8      } else {
     1.9        check(mwfm.nodeValue(n) == 0, "Invalid matching");
    1.10        check(indeg == 0, "Invalid matching");
    1.11 @@ -406,6 +407,7 @@
    1.12      check(indeg == 1, "Invalid perfect matching");
    1.13      pv += weight[mwpfm.matching(n)];
    1.14      SmartGraph::Node o = graph.target(mwpfm.matching(n));
    1.15 +    ignore_unused_variable_warning(o);
    1.16    }
    1.17  
    1.18    for (SmartGraph::EdgeIt e(graph); e != INVALID; ++e) {