Skip to content
Snippets Groups Projects
Commit 5bb2ace9 authored by Julien Michel's avatar Julien Michel
Browse files

COV: Fixing coverity issue 1350752 (Uninitialized members)

parent 94ce3770
No related branches found
No related tags found
No related merge requests found
......@@ -33,8 +33,11 @@ template<class TInputImage, class TMaskImage>
PersistentSamplingFilterBase<TInputImage,TMaskImage>
::PersistentSamplingFilterBase()
: m_FieldName(std::string("class"))
, m_FieldIndex(0)
, m_LayerIndex(0)
, m_OutLayerName(std::string("output"))
, m_OGRLayerCreationOptions()
, m_AdditionalFields()
{
this->SetNthOutput(0,TInputImage::New());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment