COIN-OR::LEMON - Graph Library

Changeset 965:00f8d9f9920d in lemon-1.2


Ignore:
Timestamp:
09/13/12 12:02:27 (12 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
966:08712a8c3afe, 970:d216e1c8b3fa
Phase:
public
Message:

Further clang compilation fixes (#449)

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • lemon/planarity.h

    r877 r965  
    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

    r881 r965  
    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

    r964 r965  
    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

    r877 r965  
    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.