Skip to content

Commit

Permalink
Revise null pointer check in Serializable.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bocchino committed Jul 17, 2023
1 parent 7051a0e commit 77222de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fw/Types/Serializable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ namespace Fw {
}

void ExternalSerializeBuffer::setExtBuffer(U8* buffPtr, NATIVE_UINT_TYPE size) {
FW_ASSERT(buffPtr);
FW_ASSERT(buffPtr != nullptr);
this->m_buff = buffPtr;
this->m_buffSize = size;
}
Expand Down

0 comments on commit 77222de

Please sign in to comment.