1
0
Fork 0

Fix some uninitialized variables (found by valgrind)

This commit is contained in:
Christian Schmitt 2013-03-10 01:24:57 +01:00
parent b5a6812c95
commit 461d89cb22
2 changed files with 2 additions and 0 deletions

View file

@ -76,6 +76,7 @@ FGAirport::FGAirport( PositionedID aGuid,
_dynamics(0), _dynamics(0),
mTowerDataLoaded(false), mTowerDataLoaded(false),
mRunwaysLoaded(false), mRunwaysLoaded(false),
mHelipadsLoaded(false),
mTaxiwaysLoaded(false), mTaxiwaysLoaded(false),
mProceduresLoaded(false), mProceduresLoaded(false),
mILSDataLoaded(false) mILSDataLoaded(false)

View file

@ -388,6 +388,7 @@ MapWidget::MapWidget(int x, int y, int maxX, int maxY) :
_height = maxY - y; _height = maxY - y;
_hasPanned = false; _hasPanned = false;
_orthoAzimuthProject = false; _orthoAzimuthProject = false;
_magneticHeadings = false;
MapData::setFont(legendFont); MapData::setFont(legendFont);
MapData::setPalette(colour); MapData::setPalette(colour);