diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2014-10-01 08:05:54 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2014-10-01 08:05:54 -0400 |
commit | 6498ccddb2f13a6fac6a210372b1aa86873507b9 (patch) | |
tree | d8fa5ac5e99c01df46d71c3c87e87d2114bfe088 /src/base/statistics.hh | |
parent | b520223699f51562140b8cc4a922eae64dffb3e3 (diff) | |
download | gem5-6498ccddb2f13a6fac6a210372b1aa86873507b9.tar.xz |
misc: Fix issues identified by static analysis
Another bunch of issues addressed.
Diffstat (limited to 'src/base/statistics.hh')
-rw-r--r-- | src/base/statistics.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/statistics.hh b/src/base/statistics.hh index 1b3d0fc54..a6edde2f9 100644 --- a/src/base/statistics.hh +++ b/src/base/statistics.hh @@ -1361,7 +1361,8 @@ class DistStor /** The number of buckets. Equal to (max-min)/bucket_size. */ size_type buckets; - Params() : DistParams(Dist) {} + Params() : DistParams(Dist), min(0), max(0), bucket_size(0), + buckets(0) {} }; private: |