summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoel Hestness ext:(%2C%20Nilay%20Vaish%20%3Cnilay%40cs.wisc.edu%3E) <jthestness@gmail.com>2013-06-24 06:57:06 -0500
committerJoel Hestness ext:(%2C%20Nilay%20Vaish%20%3Cnilay%40cs.wisc.edu%3E) <jthestness@gmail.com>2013-06-24 06:57:06 -0500
commit71c6c4311060fb2bc8711188a37f5b6b1a035654 (patch)
tree66f35e1d3db8403a86ff93c1007e62eec2569adc /tests
parent94280c7e512d5f4c7dbaefc8e387b9255c9ba9f7 (diff)
downloadgem5-71c6c4311060fb2bc8711188a37f5b6b1a035654.tar.xz
ruby: MessageBuffer: Remove unused m_size variable
The m_size variable attempted to track m_prio_heap.size(), but it did so incorrectly due to the functions reanalyzeMessages and reanalyzeAllMessages(). Since this variable is intended to track m_prio_heap.size(), we can simply replace instances where m_size is referenced with m_prio_heap.size(), which has the added bonus of removing the need for m_size. Note: This patch also removes an extraneous DPRINTF format string designator from reanalyzeAllMessages() Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions