diff --git a/src/osgPlugins/OpenFlight/PrimaryRecords.cpp b/src/osgPlugins/OpenFlight/PrimaryRecords.cpp index d15fb5be0..cad81604c 100644 --- a/src/osgPlugins/OpenFlight/PrimaryRecords.cpp +++ b/src/osgPlugins/OpenFlight/PrimaryRecords.cpp @@ -589,7 +589,10 @@ class Switch : public PrimaryRecord public: - Switch() {} + Switch(): + _currentMask(0), + _numberOfMasks(0), + _wordsInMask(0) {} META_Record(Switch)