From 5bc789dee011c26bc4accd6c00de0eea999378b4 Mon Sep 17 00:00:00 2001 From: Jordi Inglada <jordi.inglada@cesbio.cnes.fr> Date: Wed, 12 Sep 2018 12:12:08 +0200 Subject: [PATCH] ENH: default initialisation of boolean --- .../Applications/AppClassification/app/otbZonalStatistics.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Applications/AppClassification/app/otbZonalStatistics.cxx b/Modules/Applications/AppClassification/app/otbZonalStatistics.cxx index fde9f332d8..97613526c4 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; -- GitLab