summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2019-06-11 10:35:03 +0900
committerSaya Sugiura <ssugiura@jp.adit-jv.com>2019-06-11 10:49:50 +0900
commitae53c548afdfc05b37af730045661a4f803fb3e0 (patch)
treeeabfe716cb2eb0e09090693a6ee1fb8579bff9ba /src
parent1ccf1ec66ecf5d63e6570d790036be469a2cd418 (diff)
downloadDLT-daemon-ae53c548afdfc05b37af730045661a4f803fb3e0.tar.gz
libdlt: Fix compiler warnings
Fix the warning from -Wmaybe-uninitialized. Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/dlt_user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c
index 7a2c17e..9ca8112 100644
--- a/src/lib/dlt_user.c
+++ b/src/lib/dlt_user.c
@@ -4207,8 +4207,10 @@ DltReturnValue dlt_user_log_check_user_message(void)
/* Ensure that callback is null before searching for it */
delayed_injection_callback.injection_callback = 0;
+ delayed_injection_callback.injection_callback_with_id = 0;
delayed_injection_callback.service_id = 0;
delayed_log_level_changed_callback.log_level_changed_callback = 0;
+ delayed_injection_callback.data = 0;
#ifdef DLT_USE_UNIX_SOCKET_IPC
fd = dlt_user.dlt_log_handle;