Updated Branches: refs/heads/master 3f351654d -> b4d4f4a9a
WCCP removed unused method to clean up for clang Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/b4d4f4a9 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/b4d4f4a9 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/b4d4f4a9 Branch: refs/heads/master Commit: b4d4f4a9a783a51c42f8745472bb52891e3864ef Parents: 3f35165 Author: Alan M. Carroll <[email protected]> Authored: Fri Jul 27 09:54:50 2012 -0700 Committer: Alan M. Carroll <[email protected]> Committed: Fri Jul 27 09:54:50 2012 -0700 ---------------------------------------------------------------------- lib/wccp/WccpLocal.h | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b4d4f4a9/lib/wccp/WccpLocal.h ---------------------------------------------------------------------- diff --git a/lib/wccp/WccpLocal.h b/lib/wccp/WccpLocal.h index 8d80553..6cc3d15 100644 --- a/lib/wccp/WccpLocal.h +++ b/lib/wccp/WccpLocal.h @@ -1563,12 +1563,6 @@ public: Bucket const& bucket( int idx ///< Index of target bucket. ) const; - /** Compare a set of buckets. - @return @c true if the buckets are the same, @c false otherwise. - */ - bool compare( - Bucket const buckets[N_BUCKETS] ///< Buckets to compare. - ) const; //@} /// Fill out the component from an @c Assignment. @@ -3450,10 +3444,6 @@ CompWithHeader<T>::checkHeader(MsgBuffer const& buffer, CompType ect) { inline AssignInfoComp::Bucket& AssignInfoComp::bucket(int idx) { return m_buckets[idx]; } inline AssignInfoComp::Bucket const& AssignInfoComp::bucket(int idx) const{ return m_buckets[idx]; } -inline bool AssignInfoComp::compare(Bucket const buckets[N_BUCKETS]) const { - return 0 == memcmp(buckets, m_buckets, sizeof(m_buckets)); -} - inline RouterViewComp::RouterViewComp() : m_cache_count(0) { memset(m_cache_ids, 0, sizeof(m_cache_ids));
