Skip to content
Snippets Groups Projects
Commit fcbdab5b authored by Jordi Inglada's avatar Jordi Inglada
Browse files

BUG: added return statement to suppress warning, but if/then/else

conditions make sure it is never reached
parent db5a0584
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,6 @@ DecisionTree<AttributeValueType, LabelType>
// if we get here it means that a verified test was not found
itkGenericExceptionMacro(<< "Example could not be handled by decision tree.");
}
else
{
......@@ -210,7 +209,9 @@ DecisionTree<AttributeValueType, LabelType>
}
}
//added return statement to suppress warning, but if/then/else
//conditions make sure it is never reached
return static_cast<LabelType>(0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment