simgear/package/Package.cxx: removed assert that cannot fire due to unsigned.
This avoids a compiler warning.
This commit is contained in:
parent
109da4eb49
commit
f9b485a915
@ -552,7 +552,6 @@ std::string Package::parentIdForVariant(unsigned int variantIndex) const
|
||||
return m_variants.front();
|
||||
}
|
||||
|
||||
assert(indexOfVariant(parentId) >= 0);
|
||||
return parentId;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user