diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 09:04:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:15:57 +0100 |
commit | 50304242900eb256ad5d0168f7a9448dd4b82616 (patch) | |
tree | bc3b26e2f36b77dc217180b09c00306f44f84003 /chart2 | |
parent | e76dc5b422084f68cc4b27eea4cdbef3d3e7a1a9 (diff) |
coverity#1215399 Uninitialized scalar field
Change-Id: If043310b3a4ac8dcc0ed63aeeeaffdfc9af8b46f
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/inc/GL3DRenderer.hxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/chart2/source/view/inc/GL3DRenderer.hxx b/chart2/source/view/inc/GL3DRenderer.hxx index 6943012b4dec..c1cfdcf84ea9 100644 --- a/chart2/source/view/inc/GL3DRenderer.hxx +++ b/chart2/source/view/inc/GL3DRenderer.hxx @@ -274,8 +274,13 @@ private: GLint m_2DColorID; GLint m_MatrixID; - PickingShaderResources(): - m_CommonProID(0) {} + PickingShaderResources() + : m_CommonProID(0) + , m_2DVertexID(0) + , m_2DColorID(0) + , m_MatrixID(0) + { + } ~PickingShaderResources() { |