diff --git a/Modules/Filtering/Smoothing/include/otbMeanShiftSmoothingImageFilter.h b/Modules/Filtering/Smoothing/include/otbMeanShiftSmoothingImageFilter.h
index 606c00e3d678a8fcf98b7fbad52aa722ed082730..ca8e5c5db216468754921f701aa68a8acedc8617 100644
--- a/Modules/Filtering/Smoothing/include/otbMeanShiftSmoothingImageFilter.h
+++ b/Modules/Filtering/Smoothing/include/otbMeanShiftSmoothingImageFilter.h
@@ -59,10 +59,12 @@ class SpatialRangeJointDomainTransform
 public:
   typedef double RealType;
 
-  SpatialRangeJointDomainTransform()
+  SpatialRangeJointDomainTransform():
+      m_ImageDimension(0),
+      m_NumberOfComponentsPerPixel(0),
+      m_OutputSize(0)
   {
   }
-  // ~SpatialRangeJointDomainTransform() {}
 
   typename TOutputJointImage::PixelType operator()(const typename TInputImage::PixelType & inputPixel,
                                                    const typename TInputImage::IndexType & index) const