test/bellman_ford_test.cc
changeset 1010 36fa2fee7144
parent 999 00f8d9f9920d
child 1085 a337a0dd3f75
     1.1 --- a/test/bellman_ford_test.cc	Thu Nov 08 09:07:41 2012 +0100
     1.2 +++ b/test/bellman_ford_test.cc	Wed Nov 28 12:05:27 2012 +0100
     1.3 @@ -65,8 +65,10 @@
     1.4    Node s, t, n;
     1.5    Arc e;
     1.6    Value l;
     1.7 +  ignore_unused_variable_warning(l);
     1.8    int k=3;
     1.9    bool b;
    1.10 +  ignore_unused_variable_warning(b);
    1.11    BF::DistMap d(gr);
    1.12    BF::PredMap p(gr);
    1.13    LengthMap length;
    1.14 @@ -147,6 +149,8 @@
    1.15  
    1.16    Digraph g;
    1.17    bool b;
    1.18 +  ignore_unused_variable_warning(b);
    1.19 +
    1.20    bellmanFord(g,LengthMap()).run(Node());
    1.21    b = bellmanFord(g,LengthMap()).run(Node(),Node());
    1.22    bellmanFord(g,LengthMap())