diff --git a/Modules/Applications/AppClassification/app/otbZonalStatistics.cxx b/Modules/Applications/AppClassification/app/otbZonalStatistics.cxx index fde9f332d89f81566f3944f5f17969b3b9d7579c..97613526c4c569143ca46c6c5c64226dd1bbb522 100644 --- a/Modules/Applications/AppClassification/app/otbZonalStatistics.cxx +++ b/Modules/Applications/AppClassification/app/otbZonalStatistics.cxx @@ -381,7 +381,7 @@ public: ThresholdFilterType::Pointer m_ThresholdFilter; FloatVectorImageType::Pointer m_InputImage; LabelValueType m_IntNoData = itk::NumericTraits<LabelValueType>::max(); - bool m_FromLabelImage; + bool m_FromLabelImage = false; StatsFilterType::LabelPopulationMapType m_CountMap; StatsFilterType::PixelValueMapType m_MeanMap; StatsFilterType::PixelValueMapType m_StdMap;