Merge pull request 'uninitialized variable' (#59) from KSat/fsfw:mueller_uninitVariable_paramWrapper into master
Fixes Bug in ParameterWrapper.cpp
This commit is contained in:
commit
a6ecc60370
@ -91,7 +91,7 @@ template<typename T>
|
|||||||
ReturnValue_t ParameterWrapper::serializeData(uint8_t** buffer, uint32_t* size,
|
ReturnValue_t ParameterWrapper::serializeData(uint8_t** buffer, uint32_t* size,
|
||||||
const uint32_t max_size, bool bigEndian) const {
|
const uint32_t max_size, bool bigEndian) const {
|
||||||
const T *element = (const T*) readonlyData;
|
const T *element = (const T*) readonlyData;
|
||||||
ReturnValue_t result;
|
ReturnValue_t result = HasReturnvaluesIF::RETURN_OK;
|
||||||
uint16_t dataSize = columns * rows;
|
uint16_t dataSize = columns * rows;
|
||||||
while (dataSize != 0) {
|
while (dataSize != 0) {
|
||||||
result = SerializeAdapter<T>::serialize(element, buffer, size, max_size,
|
result = SerializeAdapter<T>::serialize(element, buffer, size, max_size,
|
||||||
|
Loading…
Reference in New Issue
Block a user