string.c: Kill pointless initialization.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 3 Jan 2015 17:39:39 +0000 (17:39 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 3 Jan 2015 17:40:12 +0000 (17:40 +0000)
Found by cppcheck.

string.c

index e5670f8..f052400 100644 (file)
--- a/string.c
+++ b/string.c
@@ -229,7 +229,7 @@ __must_check int atoi64(const char *str, int64_t *result)
  */
 unsigned split_args(char *args, char *** const argv_ptr, const char *delim)
 {
-       char *p = args;
+       char *p;
        char **argv;
        size_t n = 0, i, j;