Commit f1562b5f authored by Manuel Grizonnet's avatar Manuel Grizonnet

WRG: fix minor warnings with gcc 8.1 (shadowed declarations and cast issue)

parent 8c116515
......@@ -258,7 +258,6 @@ PersistentObjectDetectionClassifier<TInputImage, TOutputVectorData, TLabel, TFun
InputImageType* input = static_cast<InputImageType*>(this->itk::ProcessObject::GetInput(0));
const ModelType* model = this->GetModel();
typedef typename RegionType::IndexType IndexType;
IndexType begin = outputRegionForThread.GetIndex();
IndexType end = begin;
end[0] += outputRegionForThread.GetSize(0);
......
......@@ -74,12 +74,6 @@ KullbackLeiblerSupervizedDistance<TInput1, TInput2, TInputROIImage, TOutput>
ITK_LOCATION);
}
typedef ROIdataConversion<typename TInput2::ImageType, TInputROIImage>
ROIConversionType2;
typedef itk::ConstNeighborhoodIterator<
typename ROIConversionType2::OutputImageType> ROIInputType2;
typename ROIConversionType2::Pointer conversion2 = ROIConversionType2::New();
conversion2->SetInputImage(img2);
conversion2->SetROIImage(imgROI);
......
......@@ -94,7 +94,7 @@ QuicklookModel
if( buildContext->m_Settings!=NULL )
{
VectorImageSettings * const settings =
static_cast< VectorImageSettings * const >( buildContext->m_Settings );
static_cast< VectorImageSettings * >( buildContext->m_Settings );
SetSettings( *settings );
}
......
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