diff options
author | Thorsten Kummermehr <thorsten.kummermehr@k2l.de> | 2017-11-07 16:35:57 +0100 |
---|---|---|
committer | Thorsten Kummermehr <thorsten.kummermehr@k2l.de> | 2017-11-07 16:35:57 +0100 |
commit | 1e24766a5685951f6f66f9c545a987573851dbb9 (patch) | |
tree | 973c6b888638a92a33d8357af5e10d59e41b4b5e | |
parent | 671879b3ab49985a06ad6ee6a58a8bcfa9726538 (diff) |
Fix uninitialized warning
-rw-r--r-- | ucs2-interface/ucs_lib_interf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucs2-interface/ucs_lib_interf.c b/ucs2-interface/ucs_lib_interf.c index 59bed75..58b49d9 100644 --- a/ucs2-interface/ucs_lib_interf.c +++ b/ucs2-interface/ucs_lib_interf.c @@ -858,7 +858,7 @@ void App_TraceError(void *ucs_user_ptr, const char module_str[], const char entr { va_list argptr; char outbuf[TRACE_BUFFER_SZ]; - void *tag; + void *tag = NULL; UCSI_Data_t *my = (UCSI_Data_t *)ucs_user_ptr; if (my) { @@ -875,7 +875,7 @@ void App_TraceInfo(void *ucs_user_ptr, const char module_str[], const char entry { va_list argptr; char outbuf[TRACE_BUFFER_SZ]; - void *tag; + void *tag = NULL; UCSI_Data_t *my = (UCSI_Data_t *)ucs_user_ptr; if (my) { |