COIN-OR::LEMON - Graph Library

Changeset 963:761fe0846f49 in lemon-1.2 for test/digraph_test.cc


Ignore:
Timestamp:
09/13/12 11:45:36 (7 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
964:7fdaa05a69a1, 967:c5990f454032
Phase:
public
Message:

Fix clang compilation warnings and errors (#449)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/digraph_test.cc

    r440 r963  
    6161      a3 = G.addArc(n2, n3),
    6262      a4 = G.addArc(n2, n3);
     63  ignore_unused_variable_warning(a2,a3,a4);
    6364
    6465  checkGraphNodeList(G, 3);
     
    8990  Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n2, n1),
    9091      a3 = G.addArc(n2, n3), a4 = G.addArc(n2, n3);
     92  ignore_unused_variable_warning(a1,a2,a3,a4);
    9193
    9294  Node n4 = G.split(n2);
     
    122124      a3 = G.addArc(n4, n3), a4 = G.addArc(n4, n3),
    123125      a5 = G.addArc(n2, n4);
     126  ignore_unused_variable_warning(a1,a2,a3,a5);
    124127
    125128  checkGraphNodeList(G, 4);
     
    201204      a3 = G.addArc(n4, n3), a4 = G.addArc(n3, n1),
    202205      a5 = G.addArc(n2, n4);
     206  ignore_unused_variable_warning(a2,a3,a4,a5);
    203207
    204208  // Check arc deletion
     
    248252  Arc a1 = G.addArc(n1, n2), a2 = G.addArc(n2, n1),
    249253      a3 = G.addArc(n2, n3), a4 = G.addArc(n2, n3);
     254  ignore_unused_variable_warning(a1,a2,a3,a4);
    250255
    251256  typename Digraph::Snapshot snapshot(G);
     
    336341    e1 = g.addArc(n1, n2),
    337342    e2 = g.addArc(n2, n3);
     343  ignore_unused_variable_warning(e2);
    338344
    339345  check(g.valid(n1), "Wrong validity check");
Note: See TracChangeset for help on using the changeset viewer.