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:
Pavel Kirienko
2016-07-29 15:39:24 +03:00
parent b6fa34fed5
commit 38a241a90a
69 changed files with 306 additions and 274 deletions
+1 -1
View File
@@ -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);