initialize mission item struct

This commit is contained in:
Andreas Antener 2016-02-07 11:16:04 +01:00 committed by Lorenz Meier
parent 48ea0230e1
commit 7a592d56a2
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ MavlinkMissionManager::handle_mission_item(const mavlink_message_t *msg)
return;
}
struct mission_item_s mission_item;
struct mission_item_s mission_item = {};
int ret = parse_mavlink_mission_item(&wp, &mission_item);
if (ret != OK) {