From: Michihiro NAKAJIMA Date: Sun, 8 Nov 2009 19:50:29 +0000 (-0500) Subject: Value stored to 'r' is never read. X-Git-Tag: v2.8.0~210 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc36829c06eaa92df9b6d47fe4533ee9a669eb1b;p=thirdparty%2Flibarchive.git Value stored to 'r' is never read. Found by Clang Static Analyzer. SVN-Revision: 1605 --- diff --git a/libarchive/archive_write_disk.c b/libarchive/archive_write_disk.c index b824cc9e7..b0dbe3b4a 100644 --- a/libarchive/archive_write_disk.c +++ b/libarchive/archive_write_disk.c @@ -1694,8 +1694,6 @@ create_dir(struct archive_write_disk *a, char *path) mode_t mode_final, mode; int r; - r = ARCHIVE_OK; - /* Check for special names and just skip them. */ slash = strrchr(path, '/'); if (slash == NULL)