summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:08 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:08 -0500
commita62afd094b75f52471ff2556c62c9c5f53d705e6 (patch)
treec7d7d1dbbfd29c7bba2ef11a124cef014f5dff0c /src/cpu
parent08a5fd328b25d2ff431dc8f593c2d1bf3816b36e (diff)
downloadgem5-a62afd094b75f52471ff2556c62c9c5f53d705e6.tar.xz
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.
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/testers/traffic_gen/traffic_gen.hh13
1 files changed, 1 insertions, 12 deletions
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;