Commit 9ec5f55d authored by Brad King's avatar Brad King
Browse files

COMP: Remove unused variable in vtkRAdapter::RToVTKTree

The "maxWeight" variable is not used, so remove it.

Change-Id: I44ae769ed04e03d6a127180271f143411e8d0d7b
parent deb96689
......@@ -767,7 +767,6 @@ vtkTree* vtkRAdapter::RToVTKTree(SEXP variable)
vtkNew<vtkDoubleArray> nodeWeights;
nodeWeights->SetNumberOfTuples(tree->GetNumberOfVertices());
double maxWeight = 0.0;
vtkNew<vtkTreeDFSIterator> treeIterator;
treeIterator->SetStartVertex(tree->GetRoot());
treeIterator->SetTree(tree);
......
Markdown is supported
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