AntennaTracker: zero initialize vehicle instead of memsetting it

Solve gcc8 warning
This commit is contained in:
Pierre Kancir 2019-03-13 11:42:14 +01:00 committed by Andrew Tridgell
parent da1e5bc61f
commit 1d8cc85cb9
1 changed files with 0 additions and 1 deletions

View File

@ -146,7 +146,6 @@ const AP_HAL::HAL& hal = AP_HAL::get_HAL();
Tracker::Tracker(void)
: logger(g.log_bitmask)
{
memset(&vehicle, 0, sizeof(vehicle));
}
Tracker tracker;