diff -r 7fdaa05a69a1 -r 00f8d9f9920d test/fractional_matching_test.cc --- a/test/fractional_matching_test.cc Thu Sep 13 11:56:19 2012 +0200 +++ b/test/fractional_matching_test.cc Thu Sep 13 12:02:27 2012 +0200 @@ -342,6 +342,7 @@ check(indeg == 1, "Invalid matching"); pv += weight[mwfm.matching(n)]; SmartGraph::Node o = graph.target(mwfm.matching(n)); + ignore_unused_variable_warning(o); } else { check(mwfm.nodeValue(n) == 0, "Invalid matching"); check(indeg == 0, "Invalid matching"); @@ -406,6 +407,7 @@ check(indeg == 1, "Invalid perfect matching"); pv += weight[mwpfm.matching(n)]; SmartGraph::Node o = graph.target(mwpfm.matching(n)); + ignore_unused_variable_warning(o); } for (SmartGraph::EdgeIt e(graph); e != INVALID; ++e) {