summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorMitch Hayenga <mitch.hayenga@arm.com>2014-03-07 15:56:23 -0500
committerMitch Hayenga <mitch.hayenga@arm.com>2014-03-07 15:56:23 -0500
commitb9a9d99b226768dc972f0c40488f332066396e69 (patch)
tree711545134b14d63a51c096da0f5a2e7811c7b4fc /src/sim
parentbef2086f5bb1ef350181791c6dff14d0964a5680 (diff)
downloadgem5-b9a9d99b226768dc972f0c40488f332066396e69.tar.xz
scons: Fixes uninitialized warnings issued by clang
Small fixes to appease recent clang versions.
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/probe/probe.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/probe/probe.hh b/src/sim/probe/probe.hh
index 0f77ccb1d..5a0bf11c9 100644
--- a/src/sim/probe/probe.hh
+++ b/src/sim/probe/probe.hh
@@ -133,7 +133,7 @@ class ProbeManager
{
private:
/** Required for sensible debug messages.*/
- const SimObject *object;
+ const M5_CLASS_VAR_USED SimObject *object;
/** Vector for name look-up. */
std::vector<ProbePoint *> points;