diff -r 2da3de1c0ebe -r 08712a8c3afe test/digraph_test.cc --- a/test/digraph_test.cc Wed Sep 12 17:29:50 2012 +0200 +++ b/test/digraph_test.cc Thu Sep 13 12:05:34 2012 +0200 @@ -64,6 +64,7 @@ Arc a2 = G.addArc(n2, n1), a3 = G.addArc(n2, n3), a4 = G.addArc(n2, n3); + ignore_unused_variable_warning(a2,a3,a4); checkGraphNodeList(G, 3); checkGraphArcList(G, 4); @@ -92,6 +93,7 @@ Node n1 = G.addNode(), n2 = G.addNode(), n3 = G.addNode(); Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n2, n1), a3 = G.addArc(n2, n3), a4 = G.addArc(n2, n3); + ignore_unused_variable_warning(a1,a2,a3,a4); Node n4 = G.split(n2); @@ -125,6 +127,7 @@ Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n4, n1), a3 = G.addArc(n4, n3), a4 = G.addArc(n4, n3), a5 = G.addArc(n2, n4); + ignore_unused_variable_warning(a1,a2,a3,a5); checkGraphNodeList(G, 4); checkGraphArcList(G, 5); @@ -204,6 +207,7 @@ Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n4, n1), a3 = G.addArc(n4, n3), a4 = G.addArc(n3, n1), a5 = G.addArc(n2, n4); + ignore_unused_variable_warning(a2,a3,a4,a5); // Check arc deletion G.erase(a1); @@ -251,6 +255,7 @@ Node n1 = G.addNode(), n2 = G.addNode(), n3 = G.addNode(); Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n2, n1), a3 = G.addArc(n2, n3), a4 = G.addArc(n2, n3); + ignore_unused_variable_warning(a1,a2,a3,a4); typename Digraph::Snapshot snapshot(G); @@ -351,6 +356,7 @@ Arc e1 = g.addArc(n1, n2), e2 = g.addArc(n2, n3); + ignore_unused_variable_warning(e2); check(g.valid(n1), "Wrong validity check"); check(g.valid(e1), "Wrong validity check"); @@ -436,6 +442,7 @@ a2 = g.addArc(n2, n1), a3 = g.addArc(n2, n3), a4 = g.addArc(n2, n3); + ignore_unused_variable_warning(a2,a3,a4); digraphCopy(g, G).nodeRef(nref).run();