Commit ea3f62ea authored by Sean McBride's avatar Sean McBride

Removed harmless-looking dead code

Change-Id: I6f150f184244e2dc2c348759793960b6b47f81f8
parent 42815afe
......@@ -653,12 +653,6 @@ bool vtkPlotStacked::Paint(vtkContext2D *painter)
return false;
}
float width = this->Pen->GetWidth() * 2.3;
if (width < 8.0)
{
width = 8.0;
}
// Now add some decorations for our selected points...
if (this->Selection)
{
......
......@@ -642,7 +642,7 @@ void vtkScatterPlotMatrix::AdvanceAnimation()
int zColumn = 0;
vtkRectf size = this->Private->BigChart->GetSize();
float zSize(size.GetWidth());
float zSize;
this->Private->FinalAngle = 90.0;
this->Private->IncAngle = this->Private->FinalAngle / this->NumberOfFrames;
......
......@@ -195,7 +195,6 @@ int vtkProteinRibbonFilter::RequestData(vtkInformation *,
borderPoints[0].clear();
borderPoints[1].clear();
colors.clear();
ss = 0;
hasPrevCO = false;
}
currentCA.Set(xyz[0], xyz[1], xyz[2]);
......
......@@ -545,9 +545,6 @@ void vtkTemporalStreamTracer::AssignSeedsToProcessors(
// take points from the source object and create a particle list
//
int numSeeds = source->GetNumberOfPoints();
#ifndef NDEBUG
int numTested = numSeeds;
#endif
candidates.resize(numSeeds);
//
for (int i=0; i<numSeeds; i++) {
......@@ -576,7 +573,7 @@ void vtkTemporalStreamTracer::AssignSeedsToProcessors(
//
#ifndef NDEBUG
numTested = static_cast<int>(candidates.size());
int numTested = static_cast<int>(candidates.size());
#endif
this->TestParticles(candidates, LocalSeedPoints, LocalAssignedCount);
int TotalAssigned = LocalAssignedCount; (void)TotalAssigned;
......
......@@ -338,7 +338,6 @@ void vtkNewickTreeReader::CountNodes(const char *buffer, vtkIdType *numNodes)
current++;
if (*current == ':')
{
start = current + 1;
while (*current != '\0' && *current != ';')
{
current++;
......
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