mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 07:11:35 +08:00
Added -Wzero-as-null-pointer-constant, replaced NULL --> UAVCAN_NULLPTR. All changes are automatic, no manual edits to the library code.
This commit is contained in:
@@ -107,7 +107,7 @@ TEST(Dsdl, CloseComparison)
|
||||
// /*
|
||||
// * Descriptors
|
||||
// */
|
||||
// const uavcan::DataTypeDescriptor* desc = NULL;
|
||||
// const uavcan::DataTypeDescriptor* desc = UAVCAN_NULLPTR;
|
||||
//
|
||||
// desc = GlobalDataTypeRegistry::instance().find(uavcan::DataTypeKindMessage, "root_ns_a.EmptyMessage");
|
||||
// ASSERT_TRUE(desc);
|
||||
|
||||
Reference in New Issue
Block a user