diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 09:07:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:15:57 +0100 |
commit | 9de3fd2da6d77da6a7abc105712696f183bf6bc3 (patch) | |
tree | 29045ad7c282e1a4f364854ecf2aa690f934e45c /chart2 | |
parent | 50304242900eb256ad5d0168f7a9448dd4b82616 (diff) |
coverity#1215398 Uninitialized scalar field
Change-Id: I5e18b4d824931e489af3d8625e06974f2b488e75
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/inc/GL3DRenderer.hxx | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/chart2/source/view/inc/GL3DRenderer.hxx b/chart2/source/view/inc/GL3DRenderer.hxx index c1cfdcf84ea9..cf19979296df 100644 --- a/chart2/source/view/inc/GL3DRenderer.hxx +++ b/chart2/source/view/inc/GL3DRenderer.hxx @@ -249,11 +249,29 @@ private: GLint m_RenderVertexID; GLint m_RenderTexCoordID; - ShaderResources(): - m_3DProID(0), - m_TextProID(0), - m_CommonProID(0), - m_RenderProID(0) {} + ShaderResources() + : m_3DProID(0) + , m_3DProjectionID(0) + , m_3DViewID(0) + , m_3DModelID(0) + , m_3DNormalMatrixID(0) + , m_3DVertexID(0) + , m_3DNormalID(0) + , m_TextProID(0) + , m_TextMatrixID(0) + , m_TextVertexID(0) + , m_TextTexCoordID(0) + , m_TextTexID(0) + , m_CommonProID(0) + , m_2DVertexID(0) + , m_2DColorID(0) + , m_MatrixID(0) + , m_RenderProID(0) + , m_RenderTexID(0) + , m_RenderVertexID(0) + , m_RenderTexCoordID(0) + { + } ~ShaderResources() { |