Put an end to every gcc-4.0 warning.
authoralpar
Fri, 19 Aug 2005 12:09:21 +0000
changeset 164462548b317e65
parent 1643 9285f3777553
child 1645 4a04bb856ac7
Put an end to every gcc-4.0 warning.
lemon/concept/graph_component.h
     1.1 --- a/lemon/concept/graph_component.h	Thu Aug 18 13:33:49 2005 +0000
     1.2 +++ b/lemon/concept/graph_component.h	Fri Aug 19 12:09:21 2005 +0000
     1.3 @@ -177,7 +177,7 @@
     1.4  	  checkConcept<GraphItem<'e'>, Edge>();
     1.5  	  {
     1.6  	    Node n;
     1.7 -	    Edge e;
     1.8 +	    Edge e(INVALID);
     1.9  	    n = graph.source(e);
    1.10  	    n = graph.target(e);
    1.11  	  }      
    1.12 @@ -718,8 +718,8 @@
    1.13  	  checkConcept<GraphIncIterator<_Graph>, typename _Graph::InEdgeIt>();
    1.14  	  checkConcept<GraphIncIterator<_Graph>, typename _Graph::OutEdgeIt>();
    1.15  
    1.16 -	  typename _Graph::Node n;
    1.17 -	  typename _Graph::Edge e;
    1.18 +	  typename _Graph::Node n(INVALID);
    1.19 +	  typename _Graph::Edge e(INVALID);
    1.20  	  n = graph.oppositeNode(n, e);
    1.21  	}
    1.22