AP_Airspeed: fix clang++ warnings on static inits

these are static variables so don't need zeroing anyway...
This commit is contained in:
Peter Barker 2022-06-22 18:20:30 +10:00 committed by Andrew Tridgell
parent e4859ee4b3
commit 1185da02a6
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ extern const AP_HAL::HAL& hal;
// UAVCAN Frontend Registry Binder
UC_REGISTRY_BINDER(AirspeedCb, uavcan::equipment::air_data::RawAirData);
AP_Airspeed_UAVCAN::DetectedModules AP_Airspeed_UAVCAN::_detected_modules[] = {0};
AP_Airspeed_UAVCAN::DetectedModules AP_Airspeed_UAVCAN::_detected_modules[];
HAL_Semaphore AP_Airspeed_UAVCAN::_sem_registry;
// constructor