From a62afd094b75f52471ff2556c62c9c5f53d705e6 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 19 Feb 2013 05:56:08 -0500 Subject: scons: Fix warnings issued by clang 3.2svn (XCode 4.6) This patch fixes the warnings that clang3.2svn emit due to the "-Wall" flag. There is one case of an uninitialised value in the ARM neon ISA description, and then a whole range of unused private fields that are pruned. --- src/mem/ruby/common/Consumer.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mem/ruby/common') diff --git a/src/mem/ruby/common/Consumer.hh b/src/mem/ruby/common/Consumer.hh index 33c78d780..c1b4d70b1 100644 --- a/src/mem/ruby/common/Consumer.hh +++ b/src/mem/ruby/common/Consumer.hh @@ -44,7 +44,7 @@ class Consumer { public: Consumer(ClockedObject *_em) - : m_last_scheduled_wakeup(0), m_last_wakeup(0), em(_em) + : m_last_scheduled_wakeup(0), em(_em) { } @@ -93,7 +93,6 @@ class Consumer private: Tick m_last_scheduled_wakeup; std::set m_scheduled_wakeups; - Tick m_last_wakeup; ClockedObject *em; class ConsumerEvent : public Event -- cgit v1.2.3