summaryrefslogtreecommitdiff
path: root/src/dev/x86
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/dev/x86
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/dev/x86')
-rw-r--r--src/dev/x86/intdev.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dev/x86/intdev.hh b/src/dev/x86/intdev.hh
index a94ca47cc..99c361bae 100644
--- a/src/dev/x86/intdev.hh
+++ b/src/dev/x86/intdev.hh
@@ -66,11 +66,11 @@ class IntDev
class IntSlavePort : public MessageSlavePort
{
IntDev * device;
- Tick latency;
+
public:
IntSlavePort(const std::string& _name, MemObject* _parent,
- IntDev* dev, Tick _latency) :
- MessageSlavePort(_name, _parent), device(dev), latency(_latency)
+ IntDev* dev) :
+ MessageSlavePort(_name, _parent), device(dev)
{
}