From f4ab9af045fcd38a16f71de4bd7d7f832a4c6987 Mon Sep 17 00:00:00 2001
From: Dong Anyuan <donganyuan@cn.fujitsu.com>
Date: Tue, 28 May 2019 18:41:18 +0900
Subject: [PATCH] Fix Coverity Scan CID 339961

---
 common/config/config_cmdline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/config/config_cmdline.c b/common/config/config_cmdline.c
index 0083c2e66b..c67328f5a1 100644
--- a/common/config/config_cmdline.c
+++ b/common/config/config_cmdline.c
@@ -41,7 +41,7 @@
 
 int parse_stringlist(paramdef_t *cfgoptions, char *val) {
   char *atoken;
-  char *tokctx;
+  char *tokctx = NULL;
   char *tmpval=strdup(val);
   int   numelt=0;
   cfgoptions->numelt=0;
-- 
GitLab