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/system/DMASequencer.hh | 1 - src/mem/ruby/system/RubyPort.cc | 3 +-- src/mem/ruby/system/RubyPort.hh | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src/mem/ruby/system') diff --git a/src/mem/ruby/system/DMASequencer.hh b/src/mem/ruby/system/DMASequencer.hh index d8a6ef059..b3ba0be8c 100644 --- a/src/mem/ruby/system/DMASequencer.hh +++ b/src/mem/ruby/system/DMASequencer.hh @@ -73,7 +73,6 @@ class DMASequencer : public RubyPort bool m_is_busy; uint64_t m_data_block_mask; DMARequest active_request; - int num_active_requests; }; #endif // __MEM_RUBY_SYSTEM_DMASEQUENCER_HH__ diff --git a/src/mem/ruby/system/RubyPort.cc b/src/mem/ruby/system/RubyPort.cc index 5e9e8cdd4..4cfc1f252 100644 --- a/src/mem/ruby/system/RubyPort.cc +++ b/src/mem/ruby/system/RubyPort.cc @@ -119,8 +119,7 @@ RubyPort::getSlavePort(const std::string &if_name, PortID idx) RubyPort::PioPort::PioPort(const std::string &_name, RubyPort *_port) - : QueuedMasterPort(_name, _port, queue), queue(*_port, *this), - ruby_port(_port) + : QueuedMasterPort(_name, _port, queue), queue(*_port, *this) { DPRINTF(RubyPort, "creating master port on ruby sequencer %s\n", _name); } diff --git a/src/mem/ruby/system/RubyPort.hh b/src/mem/ruby/system/RubyPort.hh index 3c61eb522..70f74d83b 100644 --- a/src/mem/ruby/system/RubyPort.hh +++ b/src/mem/ruby/system/RubyPort.hh @@ -99,8 +99,6 @@ class RubyPort : public MemObject MasterPacketQueue queue; - RubyPort *ruby_port; - public: PioPort(const std::string &_name, RubyPort *_port); -- cgit v1.2.3