fix and/or remove unused variables

This commit is contained in:
Dennis Luxen
2014-04-23 17:03:26 +02:00
parent ef7619d664
commit ace59411cb
3 changed files with 9 additions and 18 deletions
+3 -1
View File
@@ -290,10 +290,12 @@ void EdgeBasedGraphFactory::InsertEdgeBasedNode(
BOOST_ASSERT( v != SPECIAL_NODEID );
BOOST_ASSERT( e1 != SPECIAL_EDGEID );
#ifndef NDEBUG
// find forward edge id and
const EdgeID e1b = m_node_based_graph->FindEdge(u, v);
BOOST_ASSERT( e1 == e1b );
#endif
BOOST_ASSERT( e1 != SPECIAL_EDGEID );
const EdgeData & forward_data = m_node_based_graph->GetEdgeData(e1);