From 9de3fd2da6d77da6a7abc105712696f183bf6bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 23 May 2014 09:07:49 +0100 Subject: [PATCH] coverity#1215398 Uninitialized scalar field Change-Id: I5e18b4d824931e489af3d8625e06974f2b488e75 --- chart2/source/view/inc/GL3DRenderer.hxx | 28 ++++++++++++++++++++----- 1 file 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() {