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

COMP: Removing usused variables.

parent 5f2277c1
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
using vtksys_stl::vector; using vtksys_stl::vector;
vtkCxxRevisionMacro(vtkDirectedAcyclicGraph, "1.2"); vtkCxxRevisionMacro(vtkDirectedAcyclicGraph, "1.3");
vtkStandardNewMacro(vtkDirectedAcyclicGraph); vtkStandardNewMacro(vtkDirectedAcyclicGraph);
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
vtkDirectedAcyclicGraph::vtkDirectedAcyclicGraph() vtkDirectedAcyclicGraph::vtkDirectedAcyclicGraph()
...@@ -103,8 +103,7 @@ bool vtkDirectedAcyclicGraph::IsStructureValid(vtkGraph *g) ...@@ -103,8 +103,7 @@ bool vtkDirectedAcyclicGraph::IsStructureValid(vtkGraph *g)
// Cormen, Leiserson, Rivest, p. 486). // Cormen, Leiserson, Rivest, p. 486).
vtkIdType numVerts = g->GetNumberOfVertices(); vtkIdType numVerts = g->GetNumberOfVertices();
vector<int> color(numVerts, DFS_BLACK); vector<int> color(numVerts, DFS_BLACK);
vtkIdType s, u, v; vtkIdType s, u;
bool cycle = false;
vtkSmartPointer<vtkOutEdgeIterator> adj = vtkSmartPointer<vtkOutEdgeIterator> adj =
vtkSmartPointer<vtkOutEdgeIterator>::New(); vtkSmartPointer<vtkOutEdgeIterator>::New();
for (u = 0; u < numVerts; ++u) 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