# HG changeset patch # User Peter Kovacs # Date 1229116169 -3600 # Node ID 3c0d39b6388ccc6f0f2f1804a47ff9f021d61fdd # Parent d369e885d19681445ed911f72fb321e3268ea064 Avoid warning in adaptors.h (#67) diff -r d369e885d196 -r 3c0d39b6388c lemon/adaptors.h --- a/lemon/adaptors.h Fri Dec 12 22:00:03 2008 +0100 +++ b/lemon/adaptors.h Fri Dec 12 22:09:29 2008 +0100 @@ -2205,12 +2205,12 @@ void first(Node& i) const { _graph->first(i); } void first(Arc& i) const { _graph->first(i); } void firstIn(Arc& i, const Node& n) const { - bool d; + bool d = true; _graph->firstInc(i, d, n); while (i != INVALID && d == (*_direction)[i]) _graph->nextInc(i, d); } void firstOut(Arc& i, const Node& n ) const { - bool d; + bool d = true; _graph->firstInc(i, d, n); while (i != INVALID && d != (*_direction)[i]) _graph->nextInc(i, d); }