From: Gabriel A. Devenyi Date: Mon, 15 Oct 2018 18:33:51 +0000 (-0400) Subject: Fix clang scan-build "zlib-ng/memcopy.h:298:5: warning: Value stored to 'from' is... X-Git-Tag: 1.9.9-b1~615 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f4de7e7b4878f2aed96ea24f96c61b628962f9b;p=thirdparty%2Fzlib-ng.git Fix clang scan-build "zlib-ng/memcopy.h:298:5: warning: Value stored to 'from' is never read" --- diff --git a/memcopy.h b/memcopy.h index eee8cd60d..02dfd13f6 100644 --- a/memcopy.h +++ b/memcopy.h @@ -295,7 +295,6 @@ static inline unsigned char *byte_memset(unsigned char *out, unsigned len) { unsigned rem = len % sz; len /= sz; out += rem; - from += rem; unsigned by8 = len % 8; len -= by8;