diff options
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/cache/prefetch/base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/prefetch/base.cc b/src/mem/cache/prefetch/base.cc index 52d117140..0f9290186 100644 --- a/src/mem/cache/prefetch/base.cc +++ b/src/mem/cache/prefetch/base.cc @@ -138,7 +138,7 @@ BasePrefetcher::getPacket() return NULL; } - PacketPtr pkt; + PacketPtr pkt = *pf.begin(); while (!pf.empty()) { pkt = *pf.begin(); pf.pop_front(); |