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.
This commit is contained in:
Robert Osfield
2011-05-09 10:54:10 +00:00
parent 01b80e4f66
commit 07a29e39e0

View File

@@ -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),