aboutsummaryrefslogtreecommitdiffstats
path: root/ucs2-interface/ucs_lib_interf.c
diff options
context:
space:
mode:
authorThorsten Kummermehr <thorsten.kummermehr@k2l.de>2017-11-07 16:35:57 +0100
committerThorsten Kummermehr <thorsten.kummermehr@k2l.de>2017-11-07 16:35:57 +0100
commit1e24766a5685951f6f66f9c545a987573851dbb9 (patch)
tree973c6b888638a92a33d8357af5e10d59e41b4b5e /ucs2-interface/ucs_lib_interf.c
parent671879b3ab49985a06ad6ee6a58a8bcfa9726538 (diff)
Fix uninitialized warning
Diffstat (limited to 'ucs2-interface/ucs_lib_interf.c')
-rw-r--r--ucs2-interface/ucs_lib_interf.c4
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)
{