test/adaptors_test.cc
changeset 1162 404b98971e1f
parent 1153 4bb9e72e1a41
parent 1157 761fe0846f49
child 1259 8b2d4e5d96e4
     1.1 --- a/test/adaptors_test.cc	Wed Sep 12 17:34:01 2012 +0200
     1.2 +++ b/test/adaptors_test.cc	Thu Sep 13 12:13:19 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);