From e962eda7d5c8cd271c352334ff3a381a5b995678 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 27 Apr 2011 16:05:37 +0000 Subject: [PATCH] Fixed Coverity reported issue. CID 11689: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glBlendColor is not initialized in this constructor nor in any functions that it calls. --- src/osg/BlendColor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osg/BlendColor.cpp b/src/osg/BlendColor.cpp index 616a3e1c4..06625b903 100644 --- a/src/osg/BlendColor.cpp +++ b/src/osg/BlendColor.cpp @@ -79,6 +79,7 @@ BlendColor::Extensions::Extensions(const Extensions& rhs): Referenced() { _isBlendColorSupported = rhs._isBlendColorSupported; + _glBlendColor = rhs._glBlendColor; } void BlendColor::Extensions::lowestCommonDenominator(const Extensions& rhs)