Skip to content

Commit

Permalink
fix warning with clang 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Gelas committed Oct 21, 2011
1 parent 85a226b commit 0b872c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ void Graph::_import_from_file( const std::string& input_file_name )
/// These values are separated by 'white space'.
int start_vertex, end_vertex;
double edge_weight;
int vertex_id = 0;

while(ifs >> start_vertex)
{
Expand Down Expand Up @@ -131,7 +130,6 @@ BaseVertex* Graph::get_vertex( int node_id )
const std::map<int, BaseVertex*>::iterator pos = m_mpVertexIndex.find(node_id);
if (pos == m_mpVertexIndex.end())
{
int vertex_id = m_vtVertices.size();
vertex_pt = new BaseVertex();
vertex_pt->setID(node_id);
m_mpVertexIndex[node_id] = vertex_pt;
Expand Down

0 comments on commit 0b872c4

Please sign in to comment.