AP_Logger: correct use of uninitialised stack value
This commit is contained in:
parent
5d2f114947
commit
e18174e4ac
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user