test/dijkstra_test.cc
changeset 1402 3c00344f49c9
parent 1259 8b2d4e5d96e4
     1.1 --- a/test/dijkstra_test.cc	Mon Jul 16 16:21:40 2018 +0200
     1.2 +++ b/test/dijkstra_test.cc	Wed Oct 17 19:14:07 2018 +0200
     1.3 @@ -2,7 +2,7 @@
     1.4   *
     1.5   * This file is a part of LEMON, a generic C++ optimization library.
     1.6   *
     1.7 - * Copyright (C) 2003-2010
     1.8 + * Copyright (C) 2003-2013
     1.9   * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    1.10   * (Egervary Research Group on Combinatorial Optimization, EGRES).
    1.11   *
    1.12 @@ -65,6 +65,8 @@
    1.13    VType l;
    1.14    int i;
    1.15    bool b;
    1.16 +  ::lemon::ignore_unused_variable_warning(l,i,b);
    1.17 +
    1.18    DType::DistMap d(G);
    1.19    DType::PredMap p(G);
    1.20    LengthMap length;
    1.21 @@ -162,6 +164,8 @@
    1.22  
    1.23    Digraph g;
    1.24    bool b;
    1.25 +  ::lemon::ignore_unused_variable_warning(b);
    1.26 +
    1.27    dijkstra(g,LengthMap()).run(Node());
    1.28    b=dijkstra(g,LengthMap()).run(Node(),Node());
    1.29    dijkstra(g,LengthMap())