plugin: do not null assign saveptr of strtok_r 09/156309/1
authorSooyoung Ha <yoosah.ha@samsung.com>
Wed, 18 Oct 2017 03:09:29 +0000 (12:09 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Wed, 18 Oct 2017 03:09:29 +0000 (12:09 +0900)
Change-Id: I49b9f386f45cab131be0f22e9c53cffbf40161ed
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
src/default_plugin_appcmd.c

index bd4986c..5338854 100644 (file)
@@ -141,7 +141,7 @@ static int appcmd_rununittestapp_gen_shellcmd(appcmd_info* p_info) {
     char *usr_args = NULL;
     char *buf = p_info->shell_cmd;
     int len = sizeof(p_info->shell_cmd);
-    char *ptr = NULL;
+    char *ptr;
     char *p_service = NULL;
     char *p_appid = NULL;