summaryrefslogtreecommitdiff
path: root/src/core/wee-string.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-22 12:50:38 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-22 12:50:38 +0100
commitbcf0a94bf436ae42bc73f8e15a44d1523cc20117 (patch)
treeb6491445c06226ac11f5759604f30da69942737a /src/core/wee-string.c
parent913de0c29b0eb0e4285c85b50cc448bf25ff8cf6 (diff)
downloadweechat-bcf0a94bf436ae42bc73f8e15a44d1523cc20117.zip
core: comment unneeded assignment in function string_split_shell (make C static analyzer happy)
Diffstat (limited to 'src/core/wee-string.c')
-rw-r--r--src/core/wee-string.c2
1 files changed, 1 insertions, 1 deletions
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);