Merge pull request #10624 from Minty-Meeo/resolve-gcc-warnings

Resolve Linux GCC Warnings
This commit is contained in:
JosJuice
2022-07-02 09:17:44 +02:00
committed by GitHub
10 changed files with 40 additions and 29 deletions

View File

@ -105,7 +105,7 @@ public:
case Mode::Read:
for (x.clear(); count != 0; --count)
{
V value;
V value = {};
Do(value);
x.insert(value);
}

View File

@ -14,5 +14,7 @@ public:
void Log(Common::Log::LogLevel level, const char* text) override;
private:
[[maybe_unused]] bool m_use_color = false;
#if !defined _WIN32 && !defined ANDROID
bool m_use_color = false;
#endif
};