Fixed Coverity reported issue.

CID 11815: Uninitialized scalar field (UNINIT_CTOR)
Non-static class member _cosMaxElevation is not initialized in this constructor nor in any functions that it calls.
Non-static class member _cosMaxFadeElevation is not initialized in this constructor nor in any functions that it calls.
Non-static class member _cosMinElevation is not initialized in this constructor nor in any functions that it calls.
Non-static class member _cosMinFadeElevation is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
Robert Osfield 2011-05-09 10:53:12 +00:00
parent 5b0ab95e41
commit e36f617d09

View File

@ -169,11 +169,6 @@ class OSGSIM_EXPORT ElevationSector : public Sector, public ElevationRange
protected: protected:
virtual ~ElevationSector() {} virtual ~ElevationSector() {}
float _cosMinElevation;
float _cosMinFadeElevation;
float _cosMaxElevation;
float _cosMaxFadeElevation;
}; };