]> git.tuebingen.mpg.de Git - adu.git/commitdiff
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 e5670f8c66e932f1a617301d0fe6fe7b793fa795..f0524004b1252c4449b0ffe3d29042662735f58e 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;