test/dfs_test.cc
branch1.1
changeset 1172 c18ed26f016c
parent 1081 f1398882a928
parent 1171 7e368d9b67f7
child 1258 bdfc038f364c
     1.1 --- a/test/dfs_test.cc	Wed Nov 07 18:10:07 2012 +0100
     1.2 +++ b/test/dfs_test.cc	Wed Nov 28 11:42:38 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();