Commit fabb9013 authored by Jeff Baumes's avatar Jeff Baumes
Browse files

COMP: Removing usused variables.

parent 5f2277c1
......@@ -29,7 +29,7 @@
using vtksys_stl::vector;
vtkCxxRevisionMacro(vtkDirectedAcyclicGraph, "1.2");
vtkCxxRevisionMacro(vtkDirectedAcyclicGraph, "1.3");
vtkStandardNewMacro(vtkDirectedAcyclicGraph);
//----------------------------------------------------------------------------
vtkDirectedAcyclicGraph::vtkDirectedAcyclicGraph()
......@@ -103,8 +103,7 @@ bool vtkDirectedAcyclicGraph::IsStructureValid(vtkGraph *g)
// Cormen, Leiserson, Rivest, p. 486).
vtkIdType numVerts = g->GetNumberOfVertices();
vector<int> color(numVerts, DFS_BLACK);
vtkIdType s, u, v;
bool cycle = false;
vtkIdType s, u;
vtkSmartPointer<vtkOutEdgeIterator> adj =
vtkSmartPointer<vtkOutEdgeIterator>::New();
for (u = 0; u < numVerts; ++u)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment