clang: Fix issues identified by the clang static analyzer
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 11 Sep 2012 18:15:47 +0000 (14:15 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 11 Sep 2012 18:15:47 +0000 (14:15 -0400)
commit292d8252a4a03b7f2ef48f6f86311ac35020095d
tree54c6914006282e7c4966ea82b64494250f39baea
parent9ad7e23e9e277b13fd7cbe3b123b2d72f8817269
clang: Fix issues identified by the clang static analyzer

This patch addresses a few minor issues reported by the clang static
analyzer.

The analysis was run with:

scan-build -disable-checker deadcode \
           -enable-checker experimental.core \
           -disable-checker experimental.core.CastToStruct \
           -enable-checker experimental.cpluscplus
src/mem/cache/tags/iic.cc
src/mem/ruby/system/Sequencer.cc