nullptr replacement

This commit is contained in:
Robin Müller 2020-09-29 14:43:23 +02:00
parent 1ff85c88b2
commit bed4e7affa
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ inline ReturnValue_t LocalPool<NUMBER_OF_POOLS>::getData(store_address_t storeId
template<uint8_t NUMBER_OF_POOLS>
inline ReturnValue_t LocalPool<NUMBER_OF_POOLS>::getData(
store_address_t packet_id, const uint8_t** packet_ptr, size_t* size) {
uint8_t* tempData = NULL;
uint8_t* tempData = nullptr;
ReturnValue_t status = modifyData(packet_id, &tempData, size);
*packet_ptr = tempData;
return status;