1.1 --- a/test/digraph_test.cc Wed Sep 12 17:29:50 2012 +0200
1.2 +++ b/test/digraph_test.cc Thu Sep 13 12:05:34 2012 +0200
1.3 @@ -64,6 +64,7 @@
1.4 Arc a2 = G.addArc(n2, n1),
1.5 a3 = G.addArc(n2, n3),
1.6 a4 = G.addArc(n2, n3);
1.7 + ignore_unused_variable_warning(a2,a3,a4);
1.8
1.9 checkGraphNodeList(G, 3);
1.10 checkGraphArcList(G, 4);
1.11 @@ -92,6 +93,7 @@
1.12 Node n1 = G.addNode(), n2 = G.addNode(), n3 = G.addNode();
1.13 Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n2, n1),
1.14 a3 = G.addArc(n2, n3), a4 = G.addArc(n2, n3);
1.15 + ignore_unused_variable_warning(a1,a2,a3,a4);
1.16
1.17 Node n4 = G.split(n2);
1.18
1.19 @@ -125,6 +127,7 @@
1.20 Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n4, n1),
1.21 a3 = G.addArc(n4, n3), a4 = G.addArc(n4, n3),
1.22 a5 = G.addArc(n2, n4);
1.23 + ignore_unused_variable_warning(a1,a2,a3,a5);
1.24
1.25 checkGraphNodeList(G, 4);
1.26 checkGraphArcList(G, 5);
1.27 @@ -204,6 +207,7 @@
1.28 Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n4, n1),
1.29 a3 = G.addArc(n4, n3), a4 = G.addArc(n3, n1),
1.30 a5 = G.addArc(n2, n4);
1.31 + ignore_unused_variable_warning(a2,a3,a4,a5);
1.32
1.33 // Check arc deletion
1.34 G.erase(a1);
1.35 @@ -251,6 +255,7 @@
1.36 Node n1 = G.addNode(), n2 = G.addNode(), n3 = G.addNode();
1.37 Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n2, n1),
1.38 a3 = G.addArc(n2, n3), a4 = G.addArc(n2, n3);
1.39 + ignore_unused_variable_warning(a1,a2,a3,a4);
1.40
1.41 typename Digraph::Snapshot snapshot(G);
1.42
1.43 @@ -351,6 +356,7 @@
1.44 Arc
1.45 e1 = g.addArc(n1, n2),
1.46 e2 = g.addArc(n2, n3);
1.47 + ignore_unused_variable_warning(e2);
1.48
1.49 check(g.valid(n1), "Wrong validity check");
1.50 check(g.valid(e1), "Wrong validity check");
1.51 @@ -436,6 +442,7 @@
1.52 a2 = g.addArc(n2, n1),
1.53 a3 = g.addArc(n2, n3),
1.54 a4 = g.addArc(n2, n3);
1.55 + ignore_unused_variable_warning(a2,a3,a4);
1.56
1.57 digraphCopy(g, G).nodeRef(nref).run();
1.58