]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix clang scan-build "zlib-ng/memcopy.h:298:5: warning: Value stored to 'from' is...
authorGabriel A. Devenyi <gdevenyi@gmail.com>
Mon, 15 Oct 2018 18:33:51 +0000 (14:33 -0400)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 15 Oct 2018 20:02:18 +0000 (22:02 +0200)
memcopy.h

index eee8cd60dc1aa26d6da5b3c61f507b75312d7193..02dfd13f6a82f092e8b66da0dda46f1d8ba7b0eb 100644 (file)
--- 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;