diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-10 11:53:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-10 13:39:17 +0100 |
commit | 462f7e43a059c10e431e66d8237ab1279620f685 (patch) | |
tree | 5163c64b56d5a527a4cc1363ef04e182f38b8c38 /chart2 | |
parent | e38307c4c0b16c733d52f5b6b8ff68136234c0cc (diff) |
coverity#1224984 Dereference before null check
Change-Id: I05d54983d6231ec0b4293df51c7d55570d10cee7
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index d765e95f9d2e..3d47c77ccde2 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -1427,8 +1427,7 @@ void ChartModel::update() mpChartView->setViewDirty(); mpChartView->update(); - if(mpChartView) - mpChartView->updateOpenGLWindow(); + mpChartView->updateOpenGLWindow(); } } // namespace chart |