misc: Fix issues identified by static analysis
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 1 Oct 2014 12:05:54 +0000 (08:05 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 1 Oct 2014 12:05:54 +0000 (08:05 -0400)
commit6498ccddb2f13a6fac6a210372b1aa86873507b9
treed8fa5ac5e99c01df46d71c3c87e87d2114bfe088
parentb520223699f51562140b8cc4a922eae64dffb3e3
misc: Fix issues identified by static analysis

Another bunch of issues addressed.
src/base/loader/object_file.cc
src/base/statistics.hh
src/base/vnc/vncserver.cc
src/mem/ruby/system/System.cc
src/sim/sim_object.cc
src/sim/sim_object.hh