summaryrefslogtreecommitdiff
path: root/src/cpu/o3/scoreboard.hh
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/cpu/o3/scoreboard.hh
parentbef2086f5bb1ef350181791c6dff14d0964a5680 (diff)
downloadgem5-b9a9d99b226768dc972f0c40488f332066396e69.tar.xz
scons: Fixes uninitialized warnings issued by clang
Small fixes to appease recent clang versions.
Diffstat (limited to 'src/cpu/o3/scoreboard.hh')
-rw-r--r--src/cpu/o3/scoreboard.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/scoreboard.hh b/src/cpu/o3/scoreboard.hh
index 79271082d..ec84becdf 100644
--- a/src/cpu/o3/scoreboard.hh
+++ b/src/cpu/o3/scoreboard.hh
@@ -72,7 +72,7 @@ class Scoreboard
* the misc registers that come after the physical registers and
* which are hardwired to be always considered ready.
*/
- unsigned numTotalRegs;
+ unsigned M5_CLASS_VAR_USED numTotalRegs;
/** The index of the zero register. */
PhysRegIndex zeroRegIdx;