mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 11:15:56 +00:00
Fix clang warnings
This commit is contained in:
@@ -152,7 +152,6 @@ private:
|
||||
|
||||
ThreadHelper m_thread;
|
||||
EntryPoint* m_entryPoint;
|
||||
Function <void (void)> m_function;
|
||||
WaitableEvent m_runEvent;
|
||||
id m_threadId;
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -246,7 +246,6 @@ private:
|
||||
WaitableEvent m_finishedEvent;
|
||||
Atomic <int> m_currentIndex;
|
||||
Atomic <int> m_numberOfInstances;
|
||||
int m_numberOfIterations;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -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
|
||||
|
||||
//==============================================================================
|
||||
/**
|
||||
|
||||
@@ -207,7 +207,6 @@ void UnitTest::finishCase ()
|
||||
|
||||
UnitTests::UnitTests()
|
||||
: m_assertOnFailure (false)
|
||||
, m_currentTest (nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -413,7 +413,6 @@ private:
|
||||
private:
|
||||
bool m_assertOnFailure;
|
||||
ScopedPointer <Results> m_results;
|
||||
UnitTest* m_currentTest;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user