From 0c9d1b16f8e16912387c9af47ee8a5b951fca6ff Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Fri, 20 Nov 2020 10:18:31 +0100 Subject: [PATCH] - fixed struct initialization problem with Visual Studio --- src/iec61850/server/mms_mapping/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iec61850/server/mms_mapping/control.c b/src/iec61850/server/mms_mapping/control.c index df654ba0..069171ac 100644 --- a/src/iec61850/server/mms_mapping/control.c +++ b/src/iec61850/server/mms_mapping/control.c @@ -49,7 +49,7 @@ #define PENDING_EVENT_OP_OK_TRUE 16 #define PENDING_EVENT_OP_OK_FALSE 32 -static MmsValue emptyString = {MMS_STRUCTURE, false, {0}}; +static MmsValue emptyString = {MMS_STRUCTURE, false, {DATA_ACCESS_ERROR_OBJECT_INVALIDATED}}; static MmsValue delayedResponse = {MMS_DATA_ACCESS_ERROR, false, {DATA_ACCESS_ERROR_NO_RESPONSE}};