AP_Logger: correct use of uninitialised stack value

This commit is contained in:
Peter Barker 2019-08-13 09:43:28 +10:00 committed by Peter Barker
parent 5d2f114947
commit e18174e4ac

View File

@ -423,7 +423,7 @@ bool AP_Logger_Backend::Write_Mission_Cmd(const AP_Mission &mission,
void AP_Logger_Backend::Write_EntireMission()
{
LoggerMessageWriter_WriteEntireMission writer;
LoggerMessageWriter_WriteEntireMission writer{};
writer.set_logger_backend(this);
writer.process();
}