Fix coverity issues

This commit is contained in:
Petr Mikheev 2021-07-12 11:01:32 +02:00
parent 08d6ec5b84
commit 8ff8ec4abd
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)
@ -899,7 +900,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;