test/dfs_test.cc
changeset 1010 36fa2fee7144
parent 966 c8fce9beb46a
parent 1008 d216e1c8b3fa
child 1086 97f1760dcd13
     1.1 --- a/test/dfs_test.cc	Thu Nov 08 09:07:41 2012 +0100
     1.2 +++ b/test/dfs_test.cc	Wed Nov 28 12:05:27 2012 +0100
     1.3 @@ -67,6 +67,8 @@
     1.4    Arc e;
     1.5    int l, i;
     1.6    bool b;
     1.7 +  ignore_unused_variable_warning(l,i,b);
     1.8 +
     1.9    DType::DistMap d(G);
    1.10    DType::PredMap p(G);
    1.11    Path<Digraph> pp;
    1.12 @@ -151,6 +153,8 @@
    1.13  
    1.14    Digraph g;
    1.15    bool b;
    1.16 +  ignore_unused_variable_warning(b);
    1.17 +
    1.18    dfs(g).run(Node());
    1.19    b=dfs(g).run(Node(),Node());
    1.20    dfs(g).run();