diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-31 14:42:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-09-02 12:14:47 +0100 |
commit | f8843226c3487d1521ab8435552323b942897709 (patch) | |
tree | edabc663120220ef782168eb42466e7bcd2b2611 /chart2 | |
parent | cba672f2c593f002ea13fba01e9f43ff955f97e4 (diff) |
coverity#1219805 Uninitialized scalar field
Change-Id: I6dde5a126e57f34705c2fe9189a49d7964b3d65f
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/charttypes/GL3DBarChart.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index f7459277323f..cd03a38b27ab 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -486,6 +486,11 @@ GL3DBarChart::GL3DBarChart( mbBenchMarkMode(false), maHistoryCounter(0) { + maFPSRenderStartTime.Seconds = maFPSRenderStartTime.Nanosec = 0; + maFPSRenderEndTime.Seconds = maFPSRenderEndTime.Nanosec = 0; + maDataUpdateStartTime.Seconds = maDataUpdateStartTime.Nanosec = 0; + maDataUpdateEndTime.Seconds = maDataUpdateEndTime.Nanosec = 0; + static const char *aBenchMark = getenv("BENCHMARK_MODE"); if (aBenchMark) { |