Commit df8945ec authored by Julien Michel's avatar Julien Michel
Browse files

COV: Fixing coverity issue 1221767 (Uninitialized scalar variable)

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment