From 2abaf86523cd2fa5eb24537e8aee5386d9273698 Mon Sep 17 00:00:00 2001 From: Mohammad Ayaz Date: Fri, 3 Mar 2023 14:28:04 +0900 Subject: [PATCH] system: Bring in vrte changes to zero initialize configuration variables Signed-off-by: Mohammad Ayaz --- src/system/dlt-system-options.c | 2 +- src/system/dlt-system.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/system/dlt-system-options.c b/src/system/dlt-system-options.c index 92280f86..d8b099ba 100644 --- a/src/system/dlt-system-options.c +++ b/src/system/dlt-system-options.c @@ -24,7 +24,7 @@ /******************************************************************************* ** ** -** SRC-MODULE: dlt-system-options.c ** +** SRC-MODULE: dlt-system-options.c ** ** ** ** TARGET : linux ** ** ** diff --git a/src/system/dlt-system.c b/src/system/dlt-system.c index d3aef9ef..7c64eab4 100644 --- a/src/system/dlt-system.c +++ b/src/system/dlt-system.c @@ -59,8 +59,8 @@ DLT_DECLARE_CONTEXT(dltsystem) int main(int argc, char *argv[]) { - DltSystemCliOptions options; - DltSystemConfiguration config; + DltSystemCliOptions options = {0}; + DltSystemConfiguration config = {0}; #if defined(DLT_SYSTEMD_WATCHDOG_ENABLE) || defined(DLT_SYSTEMD_ENABLE) int ret;