summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2013-08-29 01:33:24 -0400
committercomex <comexk@gmail.com>2013-09-01 22:58:33 -0400
commitfd7cf5bb719d0fb04814d9df4a6a783d648dad40 (patch)
tree104236949ea2a9030ae58e32db60e24664dcbf9c /Source/Core/Common
parentd41eb76378eb8d96fe7e447ad4229badbdb3b719 (diff)
A bunch of trivial changes to fix clang warnings.
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/Src/SettingsHandler.cpp2
-rw-r--r--Source/Core/Common/Src/Timer.cpp4
-rw-r--r--Source/Core/Common/Src/Timer.h1
3 files changed, 1 insertions, 6 deletions
diff --git a/Source/Core/Common/Src/SettingsHandler.cpp b/Source/Core/Common/Src/SettingsHandler.cpp
index 46b4170fcb..3bd9b27c2f 100644
--- a/Source/Core/Common/Src/SettingsHandler.cpp
+++ b/Source/Core/Common/Src/SettingsHandler.cpp
@@ -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());
diff --git a/Source/Core/Common/Src/Timer.cpp b/Source/Core/Common/Src/Timer.cpp
index 926de59917..945d2fac76 100644
--- a/Source/Core/Common/Src/Timer.cpp
+++ b/Source/Core/Common/Src/Timer.cpp
@@ -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
diff --git a/Source/Core/Common/Src/Timer.h b/Source/Core/Common/Src/Timer.h
index d230c73608..920a001282 100644
--- a/Source/Core/Common/Src/Timer.h
+++ b/Source/Core/Common/Src/Timer.h
@@ -38,7 +38,6 @@ public:
private:
u64 m_LastTime;
u64 m_StartTime;
- u64 m_frequency;
bool m_Running;
};