summaryrefslogtreecommitdiff
path: root/src/cpu/o3/rob_impl.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:06 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:06 -0500
commitc10098f28be209e90277925e3f983b7e62d1d037 (patch)
tree0b9c9f562c030ae74ae0a5fea25f804fdb84cec0 /src/cpu/o3/rob_impl.hh
parent860155a5fc48f983e9af40c19bf8db8250709c26 (diff)
downloadgem5-c10098f28be209e90277925e3f983b7e62d1d037.tar.xz
scons: Fix up numerous warnings about name shadowing
This patch address the most important name shadowing warnings (as produced when using gcc/clang with -Wshadow). There are many locations where constructor parameters and function parameters shadow local variables, but these are left unchanged.
Diffstat (limited to 'src/cpu/o3/rob_impl.hh')
-rw-r--r--src/cpu/o3/rob_impl.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cpu/o3/rob_impl.hh b/src/cpu/o3/rob_impl.hh
index 5f62ce539..b33221f15 100644
--- a/src/cpu/o3/rob_impl.hh
+++ b/src/cpu/o3/rob_impl.hh
@@ -404,7 +404,6 @@ template <class Impl>
void
ROB<Impl>::updateHead()
{
- DynInstPtr head_inst;
InstSeqNum lowest_num = 0;
bool first_valid = true;