Skip to content
Snippets Groups Projects
Commit df8945ec authored by Julien Michel's avatar Julien Michel
Browse files

COV: Fixing coverity issue 1221767 (Uninitialized scalar variable)

parent 6d97e30c
Branches
Tags
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment