mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
A bunch of trivial changes to fix clang warnings.
This commit is contained in:
@ -45,7 +45,7 @@ const std::string SettingsHandler::GetValue(const std::string key)
|
||||
else
|
||||
{
|
||||
toFind = key + "=";
|
||||
size_t found = decoded.find(toFind);
|
||||
found = decoded.find(toFind);
|
||||
if (found == 0)
|
||||
{
|
||||
size_t delimFound = decoded.find(delim, found + toFind.length());
|
||||
|
@ -39,10 +39,6 @@ Timer::Timer()
|
||||
: m_LastTime(0), m_StartTime(0), m_Running(false)
|
||||
{
|
||||
Update();
|
||||
|
||||
#ifdef _WIN32
|
||||
QueryPerformanceFrequency((LARGE_INTEGER*)&m_frequency);
|
||||
#endif
|
||||
}
|
||||
|
||||
// Write the starting time
|
||||
|
@ -38,7 +38,6 @@ public:
|
||||
private:
|
||||
u64 m_LastTime;
|
||||
u64 m_StartTime;
|
||||
u64 m_frequency;
|
||||
bool m_Running;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user