Skip to content

Commit 7de45dc

Browse files
committed
fixup! node-iec61850-goose: Add initial R-GOOSE receiver support
1 parent 89f9ca7 commit 7de45dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/nodes/iec61850_goose.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,8 @@ void GooseNode::parseSessionKey(json_t *json) {
671671
int id;
672672
char const *security_str;
673673
char const *signature_str;
674-
char const *data_str;
675-
char const *data_base64;
674+
char const *data_str = nullptr;
675+
char const *data_base64 = nullptr;
676676
ret = json_unpack_ex(json, &err, 0, //
677677
"{ s:i, s:s, s:s, s:?s, s:?s }", //
678678
"id", &id, //

0 commit comments

Comments
 (0)