Initialize some variables

pull/3/head
Hleb Valoshka 2019-06-19 14:33:10 +03:00
parent c17493885f
commit e255a34c7a
2 changed files with 2 additions and 2 deletions

View File

@ -6471,7 +6471,7 @@ class PointStarRenderer : public ObjectRenderer<Star, float>
float cosFOV{ 1.0f };
const ColorTemperatureTable* colorTemp{ nullptr };
float SolarSystemMaxDistance;
float SolarSystemMaxDistance { 1.0f };
#ifdef DEBUG_HDR_ADAPT
float minMag;
float maxMag;

View File

@ -141,7 +141,7 @@ class FPSActionGroup
QActionGroup *m_actionGroup;
std::map<int, QAction*> m_actions;
QAction *m_customAction;
int m_lastFPS;
int m_lastFPS { 0 };
public:
FPSActionGroup(QObject *p = nullptr);