From b37a58e0515d7bb463f2fd1a83a9cd60e8110cd3 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 6 May 2011 12:26:13 +0000 Subject: [PATCH] Fixed Coverity reported issue. CID 11827: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _plane_mask is not initialized in this constructor nor in any functions that it calls. --- src/osgUtil/PolytopeIntersector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgUtil/PolytopeIntersector.cpp b/src/osgUtil/PolytopeIntersector.cpp index c17153e2c..2213da1a0 100644 --- a/src/osgUtil/PolytopeIntersector.cpp +++ b/src/osgUtil/PolytopeIntersector.cpp @@ -89,6 +89,7 @@ namespace PolytopeIntersectorUtils _index(0), _limitOneIntersection( false ), _dimensionMask( PolytopeIntersector::AllDims ), + _plane_mask(0x0), _candidates(20) {} void addIntersection(unsigned int index, const CandList_t& cands) {