diff --git a/Applications/Segmentation/otbLSMSSmallRegionsMerging.cxx b/Applications/Segmentation/otbLSMSSmallRegionsMerging.cxx
index 7609413f07cea3873f9a57e0233f78989f4cc387..b8748ba54468ec5c2376265495f0fd32e80e5f3f 100644
--- a/Applications/Segmentation/otbLSMSSmallRegionsMerging.cxx
+++ b/Applications/Segmentation/otbLSMSSmallRegionsMerging.cxx
@@ -316,7 +316,7 @@ private:
           //Searching the "nearest" region
           for(std::set<int>::iterator itMinLabel=minLabel.begin(); itMinLabel!=minLabel.end(); ++itMinLabel)
             {
-            LabelImagePixelType curLabel = *itMinLabel, adjLabel;
+            LabelImagePixelType curLabel = *itMinLabel, adjLabel(0);
             double err = itk::NumericTraits<double>::max();
             if(edgeLabel.count(curLabel)==0)
               {