Merge branch 'coverity_fix' into 'master'

Fix some coverity issues

See merge request OpenMW/openmw!1013
This commit is contained in:
psi29a 2021-07-12 14:06:44 +00:00
commit 223216733d
3 changed files with 12 additions and 9 deletions

View file

@ -407,6 +407,7 @@ OMW::Engine::Engine(Files::ConfigurationManager& configurationManager)
, mExportFonts(false)
, mRandomSeed(0)
, mScriptContext (nullptr)
, mLuaManager (nullptr)
, mFSStrict (false)
, mScriptBlacklistUse (true)
, mNewGame (false)
@ -900,7 +901,7 @@ private:
Engine* mEngine;
std::mutex mMutex;
std::condition_variable mCV;
bool mUpdateRequest;
bool mUpdateRequest = false;
double mDt = 0;
bool mIsGuiMode = false;
std::optional<std::thread> mThread;