From 145b15c2712c787f3d0129b7d643a4df5d1e6a2e Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Tue, 11 Apr 2017 11:47:49 +0200 Subject: [PATCH] Fix missing variable initialization. --- coreapi/call_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/call_log.c b/coreapi/call_log.c index 99ad154da..8c5f31154 100644 --- a/coreapi/call_log.c +++ b/coreapi/call_log.c @@ -122,7 +122,7 @@ bctbx_list_t * call_logs_read_from_config_file(LinphoneCore *lc){ const char *tmp; uint64_t sec; LpConfig *cfg=lc->config; - bctbx_list_t *call_logs; + bctbx_list_t *call_logs = NULL; for(i=0;;++i){ snprintf(logsection,sizeof(logsection),"call_log_%i",i);