diff options
author | Nathan Binkert <nate@binkert.org> | 2009-05-11 10:38:45 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-05-11 10:38:45 -0700 |
commit | e40b8e34c81349e12a373931ab01ec78f657d80d (patch) | |
tree | 0e76aa909040776af68b036edc143a91b163833b /src/mem/ruby/profiler | |
parent | 8b9f70b9e4315b2780d1bf0f5f5af1f275604a8c (diff) | |
download | gem5-e40b8e34c81349e12a373931ab01ec78f657d80d.tar.xz |
ruby: clean up a few warnings
Diffstat (limited to 'src/mem/ruby/profiler')
-rw-r--r-- | src/mem/ruby/profiler/Profiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/profiler/Profiler.cc b/src/mem/ruby/profiler/Profiler.cc index 558402bf5..07cbdcce7 100644 --- a/src/mem/ruby/profiler/Profiler.cc +++ b/src/mem/ruby/profiler/Profiler.cc @@ -707,7 +707,7 @@ void Profiler::profileConflictingRequests(const Address& addr) assert(addr == line_address(addr)); Time last_time = m_ruby_start; if (m_conflicting_map_ptr->exist(addr)) { - Time last_time = m_conflicting_map_ptr->lookup(addr); + last_time = m_conflicting_map_ptr->lookup(addr); } Time current_time = g_eventQueue_ptr->getTime(); assert (current_time - last_time > 0); |