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:
parent
5b0ab95e41
commit
e36f617d09
@ -169,11 +169,6 @@ class OSGSIM_EXPORT ElevationSector : public Sector, public ElevationRange
|
||||
protected:
|
||||
|
||||
virtual ~ElevationSector() {}
|
||||
|
||||
float _cosMinElevation;
|
||||
float _cosMinFadeElevation;
|
||||
float _cosMaxElevation;
|
||||
float _cosMaxFadeElevation;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user