Fix un-inited vars found by valgrind.
All benign, but good to get fixed.
This commit is contained in:
parent
c6221b2c84
commit
015732db33
3 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,7 @@ void FGFlightHistory::init()
|
|||
|
||||
// force bucket re-allocation
|
||||
m_validSampleCount = SAMPLE_BUCKET_WIDTH;
|
||||
m_lastCaptureTime = globals->get_sim_time_sec();
|
||||
}
|
||||
|
||||
void FGFlightHistory::shutdown()
|
||||
|
|
|
@ -274,6 +274,8 @@ GPS::init ()
|
|||
_realismSimpleGps->setBoolValue(true);
|
||||
}
|
||||
|
||||
clearOutput();
|
||||
|
||||
// last thing, add the deprecated prop watcher
|
||||
new DeprecatedPropListener(_gpsNode);
|
||||
}
|
||||
|
|
|
@ -105,6 +105,7 @@ static std::auto_ptr<SGInterpTable> static_terminalRangeInterp,
|
|||
FGNavRadio::FGNavRadio(SGPropertyNode *node) :
|
||||
_operable(false),
|
||||
play_count(0),
|
||||
_nav_search(true),
|
||||
_last_freq(0.0),
|
||||
target_radial(0.0),
|
||||
effective_range(0.0),
|
||||
|
|
Loading…
Add table
Reference in a new issue