coverity: initialize entry
This commit is contained in:
parent
8f4ab6d7ed
commit
dd367bf083
@ -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_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user