COIN-OR::LEMON - Graph Library

Changeset 963:761fe0846f49 in lemon-1.2 for test/graph_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/graph_test.cc

    r440 r963  
    6464  Edge e2 = G.addEdge(n2, n1),
    6565       e3 = G.addEdge(n2, n3);
     66  ignore_unused_variable_warning(e2,e3);
    6667
    6768  checkGraphNodeList(G, 3);
     
    9697       e3 = G.addEdge(n2, n3), e4 = G.addEdge(n1, n4),
    9798       e5 = G.addEdge(n4, n3);
     99  ignore_unused_variable_warning(e1,e3,e4,e5);
    98100
    99101  checkGraphNodeList(G, 4);
     
    175177       e3 = G.addEdge(n2, n3), e4 = G.addEdge(n1, n4),
    176178       e5 = G.addEdge(n4, n3);
     179  ignore_unused_variable_warning(e1,e3,e4,e5);
    177180
    178181  // Check edge deletion
     
    215218  Edge e1 = G.addEdge(n1, n2), e2 = G.addEdge(n2, n1),
    216219       e3 = G.addEdge(n2, n3);
     220  ignore_unused_variable_warning(e1,e2,e3);
    217221
    218222  checkGraphNodeList(G, 3);
     
    363367    e1 = g.addEdge(n1, n2),
    364368    e2 = g.addEdge(n2, n3);
     369  ignore_unused_variable_warning(e2);
    365370
    366371  check(g.valid(n1), "Wrong validity check");
     
    492497
    493498  Node n = G.nodeFromId(dim);
     499  ignore_unused_variable_warning(n);
    494500
    495501  for (NodeIt n(G); n != INVALID; ++n) {
Note: See TracChangeset for help on using the changeset viewer.