mirror of https://github.com/ArduPilot/ardupilot
AntennaTracker: zero initialize vehicle instead of memsetting it
Solve gcc8 warning
This commit is contained in:
parent
da1e5bc61f
commit
1d8cc85cb9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue