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/dev/x86/intdev.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dev/x86') 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) { } -- cgit v1.2.3