AP_GPS: 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 16ea4f03b6
commit c2091fdef5

View File

@ -75,7 +75,7 @@ UC_REGISTRY_BINDER(RelPosHeadingCb, ardupilot::gnss::RelPosHeading);
#else
#define NATIVE_TIME_OFFSET 0
#endif
AP_GPS_UAVCAN::DetectedModules AP_GPS_UAVCAN::_detected_modules[] = {0};
AP_GPS_UAVCAN::DetectedModules AP_GPS_UAVCAN::_detected_modules[];
HAL_Semaphore AP_GPS_UAVCAN::_sem_registry;
// Member Methods