From bcf0a94bf436ae42bc73f8e15a44d1523cc20117 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 22 Feb 2014 12:50:38 +0100 Subject: [PATCH] core: comment unneeded assignment in function string_split_shell (make C static analyzer happy) --- src/core/wee-string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wee-string.c b/src/core/wee-string.c index 8aae79c6f..ff3d143e9 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -1804,7 +1804,7 @@ string_split_shell (const char *string, int *num_items) args[num_args - 1] = strdup (temp); args[num_args] = NULL; temp[0] = '\0'; - temp_len = 0; + /*temp_len = 0;*/ } free (string2);