summaryrefslogtreecommitdiff
path: root/src/cpu/base.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-10-31 01:09:44 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-10-31 01:09:44 -0700
commitd735abe5dabf483aafb0ccfb0a70cb7c3b0a5a74 (patch)
treedd273d4e65d4ba5a11a5928f3aa4d012fbcd2e19 /src/cpu/base.cc
parentce2f9625f4c4ed0bf6a79eede184a222e61b1f26 (diff)
downloadgem5-d735abe5dabf483aafb0ccfb0a70cb7c3b0a5a74.tar.xz
GCC: Get everything working with gcc 4.6.1.
And by "everything" I mean all the quick regressions.
Diffstat (limited to 'src/cpu/base.cc')
-rw-r--r--src/cpu/base.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/base.cc b/src/cpu/base.cc
index 1e25a5982..76c7c964b 100644
--- a/src/cpu/base.cc
+++ b/src/cpu/base.cc
@@ -240,8 +240,7 @@ BaseCPU::startup()
if (params()->progress_interval) {
Tick num_ticks = ticks(params()->progress_interval);
- Event *event;
- event = new CPUProgressEvent(this, num_ticks);
+ new CPUProgressEvent(this, num_ticks);
}
}