diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-11-06 03:26:16 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-11-06 03:26:16 -0500 |
commit | 2cb5467e8514934c4d88304c65050adead0ffc7e (patch) | |
tree | 693dc8a9aa6fdadb2d1856bece4510e30527c256 /src/mem/ruby/system | |
parent | 3747e178ed11ef0d73a50443bc9dc5498a91b1c9 (diff) | |
download | gem5-2cb5467e8514934c4d88304c65050adead0ffc7e.tar.xz |
misc: Appease clang static analyzer
A few minor fixes to issues identified by the clang static analyzer.
Diffstat (limited to 'src/mem/ruby/system')
-rw-r--r-- | src/mem/ruby/system/RubySystem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/system/RubySystem.cc b/src/mem/ruby/system/RubySystem.cc index 3ad3911cb..1ecd2e098 100644 --- a/src/mem/ruby/system/RubySystem.cc +++ b/src/mem/ruby/system/RubySystem.cc @@ -370,7 +370,7 @@ RubySystem::startup() } // Restore eventq head - eventq_head = eventq->replaceHead(eventq_head); + eventq->replaceHead(eventq_head); // Restore curTick and Ruby System's clock setCurTick(curtick_original); resetClock(); |