From: Michihiro NAKAJIMA Date: Mon, 9 Nov 2009 11:01:45 +0000 (-0500) Subject: Value stored to 'i' is never read. X-Git-Tag: v2.8.0~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bac486b90a31dd33742d904ed12126e3ededb96;p=thirdparty%2Flibarchive.git Value stored to 'i' is never read. Found by Clang Static Analyzer. SVN-Revision: 1627 --- diff --git a/tar/getdate.c b/tar/getdate.c index 6ed08b863..ffaa679ba 100644 --- a/tar/getdate.c +++ b/tar/getdate.c @@ -825,7 +825,7 @@ nexttoken(char **in, time_t *value) } src++; } - buff[i++] = '\0'; + buff[i] = '\0'; /* * Find the first match. If the word can be