mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
node-iec61850: fix undefined behaviour
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
This commit is contained in:
parent
fff889d779
commit
0ee9ab6be0
1 changed files with 1 additions and 1 deletions
|
@ -783,7 +783,7 @@ void GooseNode::parsePublisherData(json_t *json, std::vector<OutputData> &data)
|
|||
std::optional<GooseSignal::Meta> meta = std::nullopt;
|
||||
|
||||
if (goose_type->mms_type == MmsType::MMS_BIT_STRING && bitstring_size != -1)
|
||||
meta->size = bitstring_size;
|
||||
meta = {.size = bitstring_size};
|
||||
|
||||
auto signal_data = SignalData {};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue