diff options
| author | Andre Noll <maan@tuebingen.mpg.de> | 2015-01-03 16:08:00 +0000 |
|---|---|---|
| committer | Andre Noll <maan@tuebingen.mpg.de> | 2015-01-06 20:55:32 +0100 |
| commit | 7a76b2d90f4a4908bd4d15adef5b24ee083ab8a2 (patch) | |
| tree | 59b365935eca7e3d85faa801ea6a2c1d580acf7c | |
| parent | fbdcaf89308353d4a2d40684c987b234b971b1b9 (diff) | |
str.c: Remove pointless initialization.
The variable p is initialized to a different value a few lines later
and the value set in the definition is not used in between.
Found by cppcheck.
| -rw-r--r-- | str.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -242,7 +242,7 @@ __must_check __malloc char *dss_logname(void) */ 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; |
