Fix clang warnings

This commit is contained in:
Vinnie Falco
2013-08-01 18:49:57 -07:00
parent 9702446d91
commit f07732a9ca
6 changed files with 3 additions and 7 deletions

View File

@@ -152,7 +152,6 @@ private:
ThreadHelper m_thread;
EntryPoint* m_entryPoint;
Function <void (void)> m_function;
WaitableEvent m_runEvent;
id m_threadId;

View File

@@ -355,8 +355,7 @@ public:
inline Work (Proxy* proxy,
Entry* const entry,
const timestamp_t timestamp)
: m_proxy (proxy)
, m_entry (entry)
: m_entry (entry)
, m_timestamp (timestamp)
{
}
@@ -374,7 +373,6 @@ public:
}
private:
Proxy* const m_proxy;
Entry::Ptr m_entry;
const timestamp_t m_timestamp;
};

View File

@@ -246,7 +246,6 @@ private:
WaitableEvent m_finishedEvent;
Atomic <int> m_currentIndex;
Atomic <int> m_numberOfInstances;
int m_numberOfIterations;
};
#endif

View File

@@ -48,6 +48,7 @@ public:
int generateHash (const var& key, const int upperLimit) const noexcept { return generateHash (key.toString(), upperLimit); }
};
#if 0
/** Hardened hash functions for use with HashMap.
The seed is used to make the hash unpredictable. This prevents
@@ -74,6 +75,7 @@ public:
private:
int m_seed;
};
#endif
//==============================================================================
/**

View File

@@ -207,7 +207,6 @@ void UnitTest::finishCase ()
UnitTests::UnitTests()
: m_assertOnFailure (false)
, m_currentTest (nullptr)
{
}

View File

@@ -413,7 +413,6 @@ private:
private:
bool m_assertOnFailure;
ScopedPointer <Results> m_results;
UnitTest* m_currentTest;
};
#endif