From: Michihiro NAKAJIMA Date: Sun, 8 Nov 2009 20:15:34 +0000 (-0500) Subject: Value stored to 'ret' is never read. X-Git-Tag: v2.8.0~204 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c7e38d285be1734dd7005967fa30eb9eb6dd42e;p=thirdparty%2Flibarchive.git Value stored to 'ret' is never read. Found by Clang Static Analyzer. SVN-Revision: 1611 --- diff --git a/libarchive/archive_write_set_format_ar.c b/libarchive/archive_write_set_format_ar.c index 4ed2c6791..4bfb599a0 100644 --- a/libarchive/archive_write_set_format_ar.c +++ b/libarchive/archive_write_set_format_ar.c @@ -145,7 +145,6 @@ archive_write_ar_header(struct archive_write *a, struct archive_entry *entry) const char *filename; int64_t size; - ret = 0; append_fn = 0; ar = (struct ar_w *)a->format_data; ar->is_strtab = 0;