A bunch of trivial changes to fix clang warnings.

This commit is contained in:
comex
2013-08-29 01:33:24 -04:00
parent d41eb76378
commit fd7cf5bb71
26 changed files with 20 additions and 37 deletions

View File

@ -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());

View File

@ -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

View File

@ -38,7 +38,6 @@ public:
private:
u64 m_LastTime;
u64 m_StartTime;
u64 m_frequency;
bool m_Running;
};