summaryrefslogtreecommitdiff
path: root/chart2/source/model
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-10 11:53:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-10 13:39:17 +0100
commit462f7e43a059c10e431e66d8237ab1279620f685 (patch)
tree5163c64b56d5a527a4cc1363ef04e182f38b8c38 /chart2/source/model
parente38307c4c0b16c733d52f5b6b8ff68136234c0cc (diff)
coverity#1224984 Dereference before null check
Change-Id: I05d54983d6231ec0b4293df51c7d55570d10cee7
Diffstat (limited to 'chart2/source/model')
-rw-r--r--chart2/source/model/main/ChartModel.cxx3
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