From 07a29e39e0d8273894888b67d96de193aa9e87af Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 9 May 2011 10:54:10 +0000 Subject: [PATCH] Fixed Coverity reported issue. CID 11813: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _endian is not initialized in this constructor nor in any functions that it calls. --- src/osgSim/LightPointDrawable.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgSim/LightPointDrawable.cpp b/src/osgSim/LightPointDrawable.cpp index 99a1f6e84..53a9875a7 100644 --- a/src/osgSim/LightPointDrawable.cpp +++ b/src/osgSim/LightPointDrawable.cpp @@ -45,6 +45,7 @@ LightPointDrawable::LightPointDrawable(): LightPointDrawable::LightPointDrawable(const LightPointDrawable& lpd,const osg::CopyOp& copyop): osg::Drawable(lpd,copyop), + _endian(lpd._endian), _simulationTime(lpd._simulationTime), _simulationTimeInterval(lpd._simulationTimeInterval), _sizedOpaqueLightPointList(lpd._sizedOpaqueLightPointList),