diff -r cd72eae05bdf -r 3c00344f49c9 test/dfs_test.cc --- a/test/dfs_test.cc Mon Jul 16 16:21:40 2018 +0200 +++ b/test/dfs_test.cc Wed Oct 17 19:14:07 2018 +0200 @@ -2,7 +2,7 @@ * * This file is a part of LEMON, a generic C++ optimization library. * - * Copyright (C) 2003-2010 + * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * @@ -67,6 +67,8 @@ Arc e; int l, i; bool b; + ::lemon::ignore_unused_variable_warning(l,i,b); + DType::DistMap d(G); DType::PredMap p(G); Path pp; @@ -151,6 +153,8 @@ Digraph g; bool b; + ::lemon::ignore_unused_variable_warning(b); + dfs(g).run(Node()); b=dfs(g).run(Node(),Node()); dfs(g).run(); @@ -219,7 +223,7 @@ Dfs dfs(G); check(dfs.run(s1,t1) && dfs.reached(t1),"Node 3 is reachable from Node 6."); } - + { NullMap myPredMap; dfs(G).predMap(myPredMap).run(s);