mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-08 11:38:19 +03:00
Fix some Coverity warnings
This commit is contained in:
parent
81deb3796b
commit
d8ec78d732
17 changed files with 18 additions and 5 deletions
|
@ -29,7 +29,7 @@ namespace ESM
|
|||
float getMaxHeight() const { return mMaxHeight; }
|
||||
int getLandSize() const { return mLandSize; }
|
||||
|
||||
int mLoadFlags;
|
||||
int mLoadFlags = 0;
|
||||
|
||||
private:
|
||||
float mMinHeight = 0.f;
|
||||
|
|
|
@ -505,7 +505,7 @@ namespace Nif
|
|||
if (flags & BSVertexDesc::VertexAttribute::Eye_Data)
|
||||
{
|
||||
throw Nif::Exception("Unhandled Eye Data in BSTriShape: ", nif->getFile().getFilename());
|
||||
nif->read(mEyeData);
|
||||
// nif->read(mEyeData);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue