COIN-OR::LEMON - Graph Library

Changeset 184:716b220697a0 in lemon-1.0 for lemon/list_graph.h


Ignore:
Timestamp:
03/27/08 16:27:23 (12 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Fix gcc-4.3 compilation errors and warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/list_graph.h

    r149 r184  
    116116      for(n = first_node;
    117117          n!=-1 && nodes[n].first_in == -1;
    118           n = nodes[n].next);
     118          n = nodes[n].next) {}
    119119      arc.id = (n == -1) ? -1 : nodes[n].first_in;
    120120    }
     
    126126        int n;
    127127        for(n = nodes[arcs[arc.id].target].next;
    128           n!=-1 && nodes[n].first_in == -1;
    129           n = nodes[n].next);
     128            n!=-1 && nodes[n].first_in == -1;
     129            n = nodes[n].next) {}
    130130        arc.id = (n == -1) ? -1 : nodes[n].first_in;
    131131      }     
Note: See TracChangeset for help on using the changeset viewer.