COIN-OR::LEMON - Graph Library

Changeset 1160:00f8d9f9920d in lemon


Ignore:
Timestamp:
09/13/12 12:02:27 (7 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
1161:08712a8c3afe, 1162:404b98971e1f, 1173:d216e1c8b3fa
Phase:
public
Message:

Further clang compilation fixes (#449)

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • lemon/planarity.h

    r956 r1160  
    7373
    7474      void discover(const Arc& arc) {
    75         Node source = _graph.source(arc);
    7675        Node target = _graph.target(arc);
    7776
  • test/bellman_ford_test.cc

    r960 r1160  
    191191
    192192  ListPath<Digraph> path;
    193   Value dist;
     193  Value dist = 0;
    194194  bool reached = bellmanFord(gr,length).path(path).dist(dist).run(s,t);
    195195
  • test/digraph_test.cc

    r1159 r1160  
    443443    a3 = g.addArc(n2, n3),
    444444    a4 = g.addArc(n2, n3);
     445  ignore_unused_variable_warning(a2,a3,a4);
    445446
    446447  digraphCopy(g, G).nodeRef(nref).run();
  • test/fractional_matching_test.cc

    r956 r1160  
    343343      pv += weight[mwfm.matching(n)];
    344344      SmartGraph::Node o = graph.target(mwfm.matching(n));
     345      ignore_unused_variable_warning(o);
    345346    } else {
    346347      check(mwfm.nodeValue(n) == 0, "Invalid matching");
     
    407408    pv += weight[mwpfm.matching(n)];
    408409    SmartGraph::Node o = graph.target(mwpfm.matching(n));
     410    ignore_unused_variable_warning(o);
    409411  }
    410412
Note: See TracChangeset for help on using the changeset viewer.