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/cpu/testers/traffic_gen/traffic_gen.hh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/cpu/testers/traffic_gen') diff --git a/src/cpu/testers/traffic_gen/traffic_gen.hh b/src/cpu/testers/traffic_gen/traffic_gen.hh index 75db025e5..fa08f4461 100644 --- a/src/cpu/testers/traffic_gen/traffic_gen.hh +++ b/src/cpu/testers/traffic_gen/traffic_gen.hh @@ -548,13 +548,6 @@ class TrafficGen : public MemObject * state is complete. */ bool traceComplete; - - /** - * Used to store the Tick when the next generate should - * occur. It is to remove a transaction as soon as we - * enter the state. - */ - Tick oldEmitTime; }; /** Pointer to owner of request handler */ @@ -582,8 +575,7 @@ class TrafficGen : public MemObject public: TrafficGenPort(const std::string& name, TrafficGen& _owner) - : QueuedMasterPort(name, &_owner, queue), queue(_owner, *this), - owner(_owner) + : QueuedMasterPort(name, &_owner, queue), queue(_owner, *this) { } protected: @@ -594,9 +586,6 @@ class TrafficGen : public MemObject MasterPacketQueue queue; - // Owner of the port - TrafficGen& owner; - }; TrafficGenPort port; -- cgit v1.2.3