test/dfs_test.cc
branch1.2
changeset 972 1fe3b4ad8caa
parent 944 02c93d1f00d7
parent 970 d216e1c8b3fa
child 985 b9887ae63df0
     1.1 --- a/test/dfs_test.cc	Wed Nov 07 18:13:26 2012 +0100
     1.2 +++ b/test/dfs_test.cc	Wed Nov 28 12:02:36 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();