fix: doc and warnings
This commit is contained in:
parent
4d51fb8132
commit
ee5e1a36f6
5 changed files with 10 additions and 5 deletions
|
|
@ -242,7 +242,7 @@ eoRealBounds* eoGeneralRealBounds::getBoundsFromString(std::string _value)
|
|||
}
|
||||
|
||||
// now create the embedded eoRealBounds object
|
||||
eoRealBounds * locBound;
|
||||
eoRealBounds * locBound = nullptr;
|
||||
if (minBounded && maxBounded)
|
||||
{
|
||||
if (maxBound <= minBound)
|
||||
|
|
@ -255,5 +255,6 @@ eoRealBounds* eoGeneralRealBounds::getBoundsFromString(std::string _value)
|
|||
locBound = new eoRealAboveBound(maxBound);
|
||||
else if (minBounded && !maxBounded)
|
||||
locBound = new eoRealBelowBound(minBound);
|
||||
assert(locBound != nullptr);
|
||||
return locBound;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue