test/adaptors_test.cc
changeset 1157 761fe0846f49
parent 488 2b5496c62ccd
child 1158 8d2e55fac752
child 1159 7fdaa05a69a1
child 1257 3e711ee55d31
     1.1 --- a/test/adaptors_test.cc	Fri Aug 24 15:37:23 2012 +0200
     1.2 +++ b/test/adaptors_test.cc	Thu Sep 13 11:45:36 2012 +0200
     1.3 @@ -65,6 +65,7 @@
     1.4    Digraph::Arc a1 = digraph.addArc(n1, n2);
     1.5    Digraph::Arc a2 = digraph.addArc(n1, n3);
     1.6    Digraph::Arc a3 = digraph.addArc(n2, n3);
     1.7 +  ignore_unused_variable_warning(a3);
     1.8  
     1.9    // Check the adaptor
    1.10    checkGraphNodeList(adaptor, 3);
    1.11 @@ -99,6 +100,7 @@
    1.12    Adaptor::Arc a6 = adaptor.addArc(n2, n4);
    1.13    Adaptor::Arc a7 = adaptor.addArc(n1, n4);
    1.14    Adaptor::Arc a8 = adaptor.addArc(n1, n2);
    1.15 +  ignore_unused_variable_warning(a6,a7,a8);
    1.16  
    1.17    adaptor.erase(a1);
    1.18    adaptor.erase(n3);
    1.19 @@ -758,6 +760,7 @@
    1.20    Digraph::Arc a1 = digraph.addArc(n1, n2);
    1.21    Digraph::Arc a2 = digraph.addArc(n1, n3);
    1.22    Digraph::Arc a3 = digraph.addArc(n2, n3);
    1.23 +  ignore_unused_variable_warning(a1,a2,a3);
    1.24  
    1.25    checkGraphNodeList(adaptor, 6);
    1.26    checkGraphArcList(adaptor, 6);