coverity: initialize entry

This commit is contained in:
Robin Müller 2021-04-08 19:09:00 +02:00
parent 8f4ab6d7ed
commit dd367bf083
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ public:
} }
SerializeElement() : SerializeElement() :
LinkedElement<SerializeIF>(this) { LinkedElement<SerializeIF>(this), entry(0) {
} }
ReturnValue_t serialize(uint8_t **buffer, size_t *size, size_t maxSize, ReturnValue_t serialize(uint8_t **buffer, size_t *size, size_t maxSize,
@ -57,7 +57,7 @@ public:
return &entry; return &entry;
} }
T entry = 0; T entry;
}; };
#endif /* FSFW_SERIALIZE_SERIALIZEELEMENT_H_ */ #endif /* FSFW_SERIALIZE_SERIALIZEELEMENT_H_ */