Commit 2d148a8f authored by Sean McBride's avatar Sean McBride

Removed a bunch of double semicolons at the end of lines

154 occurances of ;;\n
parent 84ec1d57
......@@ -46,7 +46,7 @@ bool fuzzyCompare3D(A a[3], A b[3])
// Helpful class for storing and using color triples.
class Triple {
public:
Triple() = default;;
Triple() = default;
Triple(double a, double b, double c) {
data[0] = a; data[1] = b; data[2] = c;
}
......
......@@ -3210,7 +3210,7 @@ int TestClampValues()
}
vtkMath::ClampValues( nullptr, 1000, nullptr);
vtkMath::ClampValues( nullptr, 1000, nullptr, nullptr);;
vtkMath::ClampValues( nullptr, 1000, nullptr, nullptr);
if (status)
{
......
......@@ -123,7 +123,7 @@ struct DeepCopyWorker
{
for (int c = 0; c < comps; ++c)
{
dst->SetComponent(t, c, src->GetComponent(t, c));;
dst->SetComponent(t, c, src->GetComponent(t, c));
}
}
}
......
......@@ -126,7 +126,7 @@ vtkSmartPointer<vtkHexagonalPrism> MakeHexagonalPrism()
template<typename T> int TestCell(const VTKCellType cellType,
vtkSmartPointer<T> aCell)
{
int status = 0;;
int status = 0;
std::cout << "Testing " << aCell->GetClassName() << std::endl;
std::cout << " Testing Print of an uninitialized cell...";
......
......@@ -179,7 +179,7 @@ vtkSmartPointer<vtkVertex> MakeVertex()
aVertex->GetPointIds()->SetId(0,0);
aVertex->GetPoints()->SetPoint (0, 10.0, 20.0, 30.0);
return aVertex;;
return aVertex;
}
vtkSmartPointer<vtkPolyVertex> MakePolyVertex()
......@@ -194,7 +194,7 @@ vtkSmartPointer<vtkPolyVertex> MakePolyVertex()
aPolyVertex->GetPoints()->SetPoint (0, 10.0, 20.0, 30.0);
aPolyVertex->GetPoints()->SetPoint (1, 30.0, 20.0, 10.0);
return aPolyVertex;;
return aPolyVertex;
}
vtkSmartPointer<vtkLine> MakeLine()
......@@ -205,7 +205,7 @@ vtkSmartPointer<vtkLine> MakeLine()
aLine->GetPointIds()->SetId(1,1);
aLine->GetPoints()->SetPoint (0, 10.0, 20.0, 30.0);
aLine->GetPoints()->SetPoint (1, 30.0, 20.0, 10.0);
return aLine;;
return aLine;
}
vtkSmartPointer<vtkPolyLine> MakePolyLine()
......@@ -222,7 +222,7 @@ vtkSmartPointer<vtkPolyLine> MakePolyLine()
aPolyLine->GetPoints()->SetPoint (1, 10.0, 30.0, 30.0);
aPolyLine->GetPoints()->SetPoint (2, 10.0, 30.0, 40.0);
return aPolyLine;;
return aPolyLine;
}
vtkSmartPointer<vtkTriangle> MakeTriangle()
......
......@@ -49,7 +49,7 @@ int UnitTestImplicitDataSet (int, char*[])
impVol->AddObserver(vtkCommand::ErrorEvent, errorObserver);
impVol->EvaluateFunction(0.0, 0.0, 0.0);
int status1 = errorObserver->CheckErrorMessage("Can't evaluate function: either data set is missing or data set has no point data");
double zero[3], zg[3];;
double zero[3], zg[3];
zero[0] = zero[1] = zero[2] = 0.0;
impVol->EvaluateGradient(zero, zg);
status1 += errorObserver->CheckErrorMessage("Can't evaluate gradient: either data set is missing or data set has no point data");
......
......@@ -49,7 +49,7 @@ int UnitTestImplicitVolume (int, char*[])
impVol->AddObserver(vtkCommand::ErrorEvent, errorObserver);
impVol->EvaluateFunction(0.0, 0.0, 0.0);
int status1 = errorObserver->CheckErrorMessage("Can't evaluate function: either volume is missing or volume has no point data");
double zero[3], zg[3];;
double zero[3], zg[3];
zero[0] = zero[1] = zero[2] = 0.0;
impVol->EvaluateGradient(zero, zg);
status1 += errorObserver->CheckErrorMessage("Can't evaluate gradient: either volume is missing or volume has no point data");
......
......@@ -422,7 +422,7 @@ void vtkAMRUtilities::BlankGridsAtLevel(vtkOverlappingAMR* amr, int levelIdx,
// it covers
for (iter=dsChildren.begin(); iter!=dsChildren.end(); ++iter)
{
vtkAMRBox ibox;;
vtkAMRBox ibox;
int childGridIndex = amr->GetCompositeIndex(levelIdx+1, *iter);
if(processMap[childGridIndex]<0)
{
......
......@@ -708,7 +708,7 @@ vtkIdType vtkDataSet::GetNumberOfElements(int type)
case CELL:
return this->GetNumberOfCells();
}
return this->Superclass::GetNumberOfElements(type);;
return this->Superclass::GetNumberOfElements(type);
}
//----------------------------------------------------------------------------
......
......@@ -1818,7 +1818,7 @@ vtkIdType vtkGraph::GetNumberOfElements(int type)
case EDGE:
return this->GetNumberOfEdges();
}
return this->Superclass::GetNumberOfElements(type);;
return this->Superclass::GetNumberOfElements(type);
}
//----------------------------------------------------------------------------
......
......@@ -3360,12 +3360,12 @@ void vtkHyperTreeGrid::GenerateDualCornerFromLeaf1D( vtkHyperTreeGridCursor* cur
if ( ! cursorL->GetTree() )
{
// Move to left corner
pt[this->Orientation] -= .5 * cursor->GetSize()[this->Orientation];;
pt[this->Orientation] -= .5 * cursor->GetSize()[this->Orientation];
}
if ( ! cursorR->GetTree() )
{
// Move to right corner
pt[this->Orientation] += .5 * cursor->GetSize()[this->Orientation];;
pt[this->Orientation] += .5 * cursor->GetSize()[this->Orientation];
}
// Retrieve global index of center cursor
......@@ -3500,7 +3500,7 @@ void vtkHyperTreeGrid::GenerateDualCornerFromLeaf2D( vtkHyperTreeGridCursor* cur
// If E, NE, and N neighbors are leaves, create a face if E, NE, N at higher level
ids[1] = cursorE->GetGlobalNodeIndex();
ids[2] = cursorN->GetGlobalNodeIndex();
ids[3] = cursorNE->GetGlobalNodeIndex();;
ids[3] = cursorNE->GetGlobalNodeIndex();
this->Connectivity->InsertNextTypedTuple( ids );
}
......
......@@ -1996,7 +1996,7 @@ void vtkImageData::SetDataDescription(int desc)
break;
case VTK_XYZ_GRID:
this->Voxel = vtkVoxel::New();;
this->Voxel = vtkVoxel::New();
break;
}
}
......
......@@ -2219,7 +2219,7 @@ int vtkPolyData::GetScalarFieldCriticalIndex (vtkIdType pointId,
for(int i = 0; i < triangleNb; i++)
{
vtkCell *c = this->GetCell(triangleList->GetId(i));
pointList = c->GetPointIds();;
pointList = c->GetPointIds();
int pointNb = pointList->GetNumberOfIds();
if(pointList->IsId(pointId) >= 0)
......
......@@ -207,7 +207,7 @@ int vtkQuadraticHexahedron::EvaluatePosition(double* x,
int& subId, double pcoords[3],
double& dist2, double *weights)
{
double params[3] = {0.5, 0.5, 0.5};;
double params[3] = {0.5, 0.5, 0.5};
double derivs[60];
// compute a bound on the volume to get a scale for an acceptable determinant
......
......@@ -677,5 +677,5 @@ vtkIdType vtkTable::GetNumberOfElements(int type)
case ROW:
return this->GetNumberOfRows();
}
return this->Superclass::GetNumberOfElements(type);;
return this->Superclass::GetNumberOfElements(type);
}
......@@ -610,7 +610,7 @@ vtkCell *vtkUniformGrid::FindAndGetCell(double x[3],
double xOut[3];
int iMax = 0;
int jMax = 0;
int kMax = 0;;
int kMax = 0;
vtkCell *cell = nullptr;
double *origin = this->GetOrigin();
double *spacing = this->GetSpacing();
......
......@@ -53,7 +53,7 @@ public:
virtual unsigned int GetFlatIndex() { return this->Index;}
protected:
AMRIndexIterator(): Level(0), Index(0) {}
~AMRIndexIterator() override = default;;
~AMRIndexIterator() override = default;
unsigned int Level;
int Index;
unsigned int NumLevels;
......
......@@ -42,8 +42,8 @@ public:
vtkTypeMacro(vtkDummyImageFilter,vtkImageAlgorithm);
protected:
vtkDummyImageFilter() = default;;
~vtkDummyImageFilter() override = default;;
vtkDummyImageFilter() = default;
~vtkDummyImageFilter() override = default;
int RequestData(
vtkInformation* request,
......
......@@ -391,7 +391,7 @@ void vtkCompositeDataPipeline::ExecuteSimpleAlgorithm(
// one to process the whole block)
this->PushInformation(inInfo);
vtkDebugMacro(<< "EXECUTING " << this->Algorithm->GetClassName());;
vtkDebugMacro(<< "EXECUTING " << this->Algorithm->GetClassName());
// True when the pipeline is iterating over the current (simple)
// filter to produce composite output. In this case,
......
......@@ -84,7 +84,7 @@ int vtkImageToStructuredPoints::RequestData(
int idxX, idxY, idxZ;
int maxX = 0;
int maxY = 0;
int maxZ = 0;;
int maxZ = 0;
vtkIdType inIncX, inIncY, inIncZ;
int rowLength;
unsigned char *inPtr1, *inPtr, *outPtr;
......
......@@ -1504,7 +1504,7 @@ SelectLine(double origin[3], double ray[3], vtkIdType &numSelected)
return nullptr;
}
vtkIdType numCells = this->DataSet->GetNumberOfCells();;
vtkIdType numCells = this->DataSet->GetNumberOfCells();
// Specialized for structured grids
if ( this->Hierarchy &&
......@@ -1555,7 +1555,7 @@ SelectPlane(double origin[3], double normal[3], vtkIdType &numSelected)
return nullptr;
}
vtkIdType numCells = this->DataSet->GetNumberOfCells();;
vtkIdType numCells = this->DataSet->GetNumberOfCells();
// Specialized for structured grids
if ( this->Hierarchy &&
......
......@@ -377,7 +377,7 @@ public:
vtkAbstractTransform *MakeTransform() override { return vtkSimpleTransform::New(); };
void Inverse() override { this->Matrix->Invert(); this->Modified(); };
protected:
vtkSimpleTransform() = default;;
vtkSimpleTransform() = default;
vtkSimpleTransform(const vtkSimpleTransform&);
vtkSimpleTransform& operator=(const vtkSimpleTransform&);
};
......
......@@ -77,7 +77,7 @@ vtkCMLMoleculeReader::~vtkCMLMoleculeReader()
//----------------------------------------------------------------------------
vtkMolecule *vtkCMLMoleculeReader::GetOutput()
{
return vtkMolecule::SafeDownCast(this->GetOutputDataObject(0));;
return vtkMolecule::SafeDownCast(this->GetOutputDataObject(0));
}
//----------------------------------------------------------------------------
......
......@@ -52,7 +52,7 @@ vtkOpenQubeMoleculeSource::~vtkOpenQubeMoleculeSource()
//----------------------------------------------------------------------------
vtkMolecule *vtkOpenQubeMoleculeSource::GetOutput()
{
return vtkMolecule::SafeDownCast(this->GetOutputDataObject(0));;
return vtkMolecule::SafeDownCast(this->GetOutputDataObject(0));
}
//----------------------------------------------------------------------------
......
......@@ -77,5 +77,5 @@ int main(int, char*[])
tree->Delete();
view->Delete();
return EXIT_SUCCESS;;
return EXIT_SUCCESS;
}
......@@ -316,7 +316,7 @@ void vtkAMRGaussianPulseSource::Generate3DDataSet( vtkOverlappingAMR *amr )
refinedPatch = RefinePatch( grid, patches[patchIdx] );
assert("pre: refined grid is nullptr" && (refinedPatch != nullptr) );
box = vtkAMRBox(refinedPatch->GetOrigin(), refinedPatch->GetDimensions(), refinedPatch->GetSpacing(),amr->GetOrigin(),amr->GetGridDescription());;
box = vtkAMRBox(refinedPatch->GetOrigin(), refinedPatch->GetDimensions(), refinedPatch->GetSpacing(),amr->GetOrigin(),amr->GetGridDescription());
amr->SetSpacing(level+1,refinedPatch->GetSpacing());
amr->SetAMRBox(level+1,patchIdx,box);
amr->SetDataSet(level+1,patchIdx,refinedPatch);
......
......@@ -44,7 +44,7 @@ int UnitTestMaskPoints (int, char*[])
vtkSmartPointer<vtkMaskPoints> mask0 =
vtkSmartPointer<vtkMaskPoints>::New();
mask0->Print(print0);
std::cout << "PASSED" << std::endl;;
std::cout << "PASSED" << std::endl;
std::cout << "Testing defaults...";
mask0->SetInputData(MakePolyData(10000));
......
......@@ -34,7 +34,7 @@ public:
static vtkCompositeCutter *New();
void PrintSelf(ostream& os, vtkIndent indent) override;;
void PrintSelf(ostream& os, vtkIndent indent) override;
protected:
vtkCompositeCutter(vtkImplicitFunction *cf=nullptr);
......
......@@ -108,7 +108,7 @@ public:
{
this->Origin[0] = this->Origin[0] + this->Spacing[0]*updateExt[0];
this->Origin[1] = this->Origin[1] + this->Spacing[1]*updateExt[2];
this->Origin[2] = this->Origin[2] + this->Spacing[2]*updateExt[4];;
this->Origin[2] = this->Origin[2] + this->Spacing[2]*updateExt[4];
}
// The three passes of the algorithm.
......
......@@ -133,7 +133,7 @@ public:
{
this->Origin[0] = this->Origin[0] + this->Spacing[0]*this->Min0;
this->Origin[1] = this->Origin[1] + this->Spacing[1]*this->Min1;
this->Origin[2] = this->Origin[2] + this->Spacing[2]*this->Min2;;
this->Origin[2] = this->Origin[2] + this->Spacing[2]*this->Min2;
}
// The three main passes of the algorithm.
......@@ -257,7 +257,7 @@ public:
if ( this->InterpolateAttributes )
{
vtkIdType v0=ijk0[0] + ijk0[1]*incs[1] + ijk0[2]*incs[2];
vtkIdType v1=ijk1[0] + ijk1[1]*incs[1] + ijk1[2]*incs[2];;
vtkIdType v1=ijk1[0] + ijk1[1]*incs[1] + ijk1[2]*incs[2];
this->Arrays.InterpolateEdge(v0,v1,t,vId);
}
}
......@@ -711,7 +711,7 @@ InterpolateEdge(double value, vtkIdType ijk[3],
if ( this->InterpolateAttributes )
{
vtkIdType v0=ijk0[0] + ijk0[1]*incs[1] + ijk0[2]*incs[2];
vtkIdType v1=ijk1[0] + ijk1[1]*incs[1] + ijk1[2]*incs[2];;
vtkIdType v1=ijk1[0] + ijk1[1]*incs[1] + ijk1[2]*incs[2];
this->Arrays.InterpolateEdge(v0,v1,t,vId);
}
}
......
......@@ -136,7 +136,7 @@ public:
{
this->Origin[0] = this->Origin[0] + this->Spacing[0]*this->Min0;
this->Origin[1] = this->Origin[1] + this->Spacing[1]*this->Min1;
this->Origin[2] = this->Origin[2] + this->Spacing[2]*this->Min2;;
this->Origin[2] = this->Origin[2] + this->Spacing[2]*this->Min2;
}
// The three main passes of the algorithm.
......@@ -212,7 +212,7 @@ public:
if ( this->InterpolateAttributes )
{
vtkIdType v0=ijk0[0] + ijk0[1]*incs[1] + ijk0[2]*incs[2];
vtkIdType v1=ijk1[0] + ijk1[1]*incs[1] + ijk1[2]*incs[2];;
vtkIdType v1=ijk1[0] + ijk1[1]*incs[1] + ijk1[2]*incs[2];
this->Arrays.InterpolateEdge(v0,v1,t,vId);
}
}
......
......@@ -139,7 +139,7 @@ int vtkHedgeHog::RequestData(
}
pts[0] = ptId;
pts[1] = ptId + numPts;;
pts[1] = ptId + numPts;
newPts->SetPoint(pts[0], x);
newPts->SetPoint(pts[1], newX);
......
......@@ -268,7 +268,7 @@ int vtkStripper::RequestData(
//
if ( i >= 3 )
{
pts[0] = triPts[0];;
pts[0] = triPts[0];
pts[1] = triPts[1];
pts[2] = triPts[2];
newStrips->InsertNextCell(3,pts);
......
......@@ -239,7 +239,7 @@ void vtkThresholdPoints::PrintSelf(ostream& os, vtkIndent indent)
{
this->Superclass::PrintSelf(os,indent);
os << indent << "Lower Threshold: " << this->LowerThreshold << "\n";;
os << indent << "Upper Threshold: " << this->UpperThreshold << "\n";;
os << indent << "Lower Threshold: " << this->LowerThreshold << "\n";
os << indent << "Upper Threshold: " << this->UpperThreshold << "\n";
os << indent << "Output Points Precision: " << this->OutputPointsPrecision << "\n";
}
......@@ -982,8 +982,8 @@ int vtkTemporalStreamTracer::GenerateOutput(vtkInformationVector** inputVector,
//
// Let go of inputs
//
if (this->InputDataT[0]) this->InputDataT[0] = nullptr;;
if (this->InputDataT[1]) this->InputDataT[1] = nullptr;;
if (this->InputDataT[0]) this->InputDataT[0] = nullptr;
if (this->InputDataT[1]) this->InputDataT[1] = nullptr;
//
// Write Particles out if necessary
......
......@@ -49,7 +49,7 @@ int TestDensifyPolyData(int, char *[])
boxPoints->InsertNextPoint(0.5,0.072707727551,0.5);
boxPoints->InsertNextPoint(-0.014212930575,0.5,0.5);
VTK_CREATE(vtkPolyData, boxPolydata);;
VTK_CREATE(vtkPolyData, boxPolydata);
VTK_CREATE(vtkCellArray, polys);
boxPolydata->SetPolys(polys);
boxPolydata->SetPoints(boxPoints);
......
......@@ -107,7 +107,7 @@ public:
{
this->Origin[0] = this->Origin[0] + this->Spacing[0]*updateExt[0];
this->Origin[1] = this->Origin[1] + this->Spacing[1]*updateExt[2];
this->Origin[2] = this->Origin[2] + this->Spacing[2]*updateExt[4];;
this->Origin[2] = this->Origin[2] + this->Spacing[2]*updateExt[4];
}
// The three passes of the algorithm.
......
......@@ -132,7 +132,7 @@ public:
{
this->Origin[0] = this->Origin[0] + this->Spacing[0]*this->Min0;
this->Origin[1] = this->Origin[1] + this->Spacing[1]*this->Min1;
this->Origin[2] = this->Origin[2] + this->Spacing[2]*this->Min2;;
this->Origin[2] = this->Origin[2] + this->Spacing[2]*this->Min2;
}
// The three main passes of the algorithm.
......@@ -256,7 +256,7 @@ public:
if ( this->InterpolateAttributes )
{
vtkIdType v0=ijk0[0] + ijk0[1]*incs[1] + ijk0[2]*incs[2];
vtkIdType v1=ijk1[0] + ijk1[1]*incs[1] + ijk1[2]*incs[2];;
vtkIdType v1=ijk1[0] + ijk1[1]*incs[1] + ijk1[2]*incs[2];
this->Arrays.InterpolateEdge(v0,v1,t,vId);
}
}
......@@ -710,7 +710,7 @@ InterpolateEdge(double vtkNotUsed(value), vtkIdType ijk[3],
if ( this->InterpolateAttributes )
{
vtkIdType v0=ijk0[0] + ijk0[1]*incs[1] + ijk0[2]*incs[2];
vtkIdType v1=ijk1[0] + ijk1[1]*incs[1] + ijk1[2]*incs[2];;
vtkIdType v1=ijk1[0] + ijk1[1]*incs[1] + ijk1[2]*incs[2];
this->Arrays.InterpolateEdge(v0,v1,t,vId);
}
}
......
......@@ -1367,7 +1367,7 @@ void vtkLoopBooleanPolyDataFilter::Impl::PerformBoolean(
vtkPolyData *surfaces[4];
for (int i=0;i<4;i++)
{
surfaces[i] = vtkPolyData::New();;
surfaces[i] = vtkPolyData::New();
}
this->ThresholdRegions(surfaces);
......
......@@ -391,7 +391,7 @@ vtkIdType vtkMergeCells::AddNewCellsUnstructuredGrid(vtkDataSet *set,
cellArray = Ugrid->GetCells();
cells = cellArray->GetPointer();
locs = Ugrid->GetCellLocationsArray()->GetPointer(0);
types = Ugrid->GetCellTypesArray()->GetPointer(0);;
types = Ugrid->GetCellTypesArray()->GetPointer(0);
numCells = Ugrid->GetNumberOfCells();
numConnections = cellArray->GetData()->GetNumberOfTuples();
......
......@@ -99,7 +99,7 @@ void vtkReflectionFilter::FlipTuple(double* tuple, int* mirrorDir, int nComp)
int vtkReflectionFilter::ComputeBounds(vtkDataObject* input, double bounds[6])
{
// get the input and output
vtkDataSet *inputDS = vtkDataSet::SafeDownCast(input);;
vtkDataSet *inputDS = vtkDataSet::SafeDownCast(input);
vtkCompositeDataSet* inputCD = vtkCompositeDataSet::SafeDownCast(input);
if (inputDS)
......
......@@ -224,7 +224,7 @@ vtkStdString vtkSplitColumnComponents::GetComponentLabel(
case NAMES_WITH_UNDERSCORES:
default:
stream << array->GetName() << "_"
<< vtkGetComponentName(array, component_no).c_str();;
<< vtkGetComponentName(array, component_no).c_str();
break;
}
return stream.str();
......
......@@ -125,7 +125,7 @@ int vtkTransformFilter::RequestData(
vtkPoints *inPts;
vtkPoints *newPts;
vtkDataArray *inVectors, *inCellVectors;;
vtkDataArray *inVectors, *inCellVectors;
vtkDataArray *newVectors=nullptr, *newCellVectors=nullptr;
vtkDataArray *inNormals, *inCellNormals;
vtkDataArray *newNormals=nullptr, *newCellNormals=nullptr;
......
......@@ -35,7 +35,7 @@ public:
Internals() : NextRegion(0) {
this->OldToNew[-1] = -1;
};
~Internals() = default;;
~Internals() = default;
//place to pass a material id back but still subclass
int NextRegion;
......
......@@ -872,7 +872,7 @@ int vtkImageToPolyDataFilter::BuildEdges(vtkUnsignedCharArray *vtkNotUsed(pixels
pointDescr->InsertValue(1, 1);
x[0] = origin[0] + (dims[0]-1)*spacing[0];
x[1] = origin[1] + (dims[1]-1)*spacing[1];;
x[1] = origin[1] + (dims[1]-1)*spacing[1];
x[2] = 0.0;
points->InsertPoint(2, x);
pointDescr->InsertValue(2, 1);
......
......@@ -121,7 +121,7 @@ void vtkSectorSource::PrintSelf(ostream& os, vtkIndent indent)
os << indent << "OuterRadius: " << this->OuterRadius << "\n";
os << indent << "ZCoord: " << this->ZCoord << "\n";
os << indent << "StartAngle: " << this->StartAngle << "\n";
os << indent << "EndAngle: " << this->EndAngle << "\n";;
os << indent << "EndAngle: " << this->EndAngle << "\n";
os << indent << "CircumferentialResolution: " << this->CircumferentialResolution << "\n";
os << indent << "RadialResolution: " << this->RadialResolution << "\n";
}
......@@ -98,7 +98,7 @@ int AggregateDataSet(int argc, char *argv[])
retVal = EXIT_FAILURE;
}
vtkThresholdPoints* threshold = vtkThresholdPoints::New();;
vtkThresholdPoints* threshold = vtkThresholdPoints::New();
threshold->ThresholdBetween(0, 500);
threshold->SetInputConnection(wavelet->GetOutputPort());
aggregate->SetInputConnection(threshold->GetOutputPort());
......
......@@ -126,7 +126,7 @@ int vtkCollectPolyData::RequestData(
// Collect.
vtkAppendPolyData *append = vtkAppendPolyData::New();
vtkPolyData *pd = nullptr;;
vtkPolyData *pd = nullptr;
if (myId == 0)
{
......
......@@ -51,7 +51,7 @@ void vtkPMaskPoints::PrintSelf(ostream& os, vtkIndent indent)
}
else
{
os << indent << "Controller: (null)" << std::endl;;
os << indent << "Controller: (null)" << std::endl;
}
}
......
......@@ -64,7 +64,7 @@ int vtkRectilinearGridOutlineFilter::RequestData(
vtkDataArray* xCoords = input->GetXCoordinates();
vtkDataArray* yCoords = input->GetYCoordinates();
vtkDataArray* zCoords = input->GetZCoordinates();
int* ext = input->GetExtent();;
int* ext = input->GetExtent();
int* wholeExt =
inInfo->Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT());
......
......@@ -125,7 +125,7 @@ void MyMain( vtkMultiProcessController *controller, void *arg )
LineSourceWidget0->SetPoint2(6.3766, -0.5886, 26.6274);
LineSourceWidget0->SetResolution(20);
vtkPStreamTracer* Stream0 = vtkPStreamTracer::New();;
vtkPStreamTracer* Stream0 = vtkPStreamTracer::New();
Stream0->SetInputConnection(tv->GetOutputPort());
Stream0->SetSourceConnection(LineSourceWidget0->GetOutputPort());
Stream0->SetIntegrationStepUnit(2);
......@@ -136,7 +136,7 @@ void MyMain( vtkMultiProcessController *controller, void *arg )
Stream0->SetMaximumNumberOfSteps(2000);
Stream0->SetTerminalSpeed(1e-12);
vtkGeometryFilter* Geometry6 = vtkGeometryFilter::New();;
vtkGeometryFilter* Geometry6 = vtkGeometryFilter::New();
Geometry6->SetInputConnection(Stream0->GetOutputPort());
vtkLookupTable* LookupTable1 = vtkLookupTable::New();
......
......@@ -84,7 +84,7 @@ void vtkPExtractHistogram2D::Learn(vtkTable *inData,
reducedOutImage->DeepCopy(outImage);
vtkDataArray* myArray = outImage->GetPointData()->GetScalars();
vtkDataArray* recvArray = reducedOutImage->GetPointData()->GetScalars();;
vtkDataArray* recvArray = reducedOutImage->GetPointData()->GetScalars();
// this sums up all of the images and distributes them to
// every node
......
......@@ -261,7 +261,7 @@ template<typename T> int TestProbabilisticKernel (vtkSmartPointer<T> kernel, vtk
vtkSmartPointer<vtkPointSource> randomSphere =
vtkSmartPointer<vtkPointSource>::New();
randomSphere->SetRadius(sphere->GetRadius() * 2.0);;
randomSphere->SetRadius(sphere->GetRadius() * 2.0);
randomSphere->SetNumberOfPoints(numberOfPoints);
randomSphere->Update();
vtkSmartPointer<vtkDoubleArray> distances =
......@@ -332,7 +332,7 @@ template<typename T> int TestProbabilisticKernel (vtkSmartPointer<T> kernel, vtk
for (vtkIdType p = 0; p < ptIds->GetNumberOfIds(); ++p)
{
double value;
randomSphere->GetOutput()->GetPointData()->GetArray("Distances")->GetTuple(ptIds->GetId(p), &value);;
randomSphere->GetOutput()->GetPointData()->GetArray("Distances")->GetTuple(ptIds->GetId(p), &value);
double weight;
weights->GetTuple(p, &weight);
probe += weight * value;
......@@ -376,7 +376,7 @@ template<typename T> int TestProbabilisticKernel (vtkSmartPointer<T> kernel, vtk
for (vtkIdType p = 0; p < ptIds->GetNumberOfIds(); ++p)
{
double value;
sphere->GetOutput()->GetPointData()->GetScalars()->GetTuple(ptIds->GetId(p), &value);;
sphere->GetOutput()->GetPointData()->GetScalars()->GetTuple(ptIds->GetId(p), &value);
double weight;
weights->GetTuple(p, &weight);
probe += weight * value;
......@@ -470,7 +470,7 @@ template<typename T> int TestKernel (vtkSmartPointer<T> kernel, vtkIdType number
for (vtkIdType p = 0; p < ptIds->GetNumberOfIds(); ++p)
{
double value;
randomSphere->GetOutput()->GetPointData()->GetArray("TestDistances")->GetTuple(ptIds->GetId(p), &value);;
randomSphere->GetOutput()->GetPointData()->GetArray("TestDistances")->GetTuple(ptIds->GetId(p), &value);
double weight;
weights->GetTuple(p, &weight);
probe += weight * value;
......@@ -513,7 +513,7 @@ template<typename T> int TestKernel (vtkSmartPointer<T> kernel, vtkIdType number
for (vtkIdType p = 0; p < ptIds->GetNumberOfIds(); ++p)
{
double value;
sphere->GetOutput()->GetPointData()->GetScalars()->GetTuple(ptIds->GetId(p), &value);;
sphere->GetOutput()->GetPointData()->GetScalars()->GetTuple(ptIds->GetId(p), &value);
double weight;