]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Fix building with gcc 8.2.1 and -Wall -Wextra -pedantic -Werror
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 26 Mar 2019 09:52:02 +0000 (10:52 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 27 Mar 2019 12:01:02 +0000 (13:01 +0100)
commit3714bcf395ae1146645f0f2590b914e715569bf3
tree975db6d13c8b5793768062760065717526f546c6
parenteea02140087f06b3787f9c6a7ce59f9ff71a9902
Fix building with gcc 8.2.1 and -Wall -Wextra -pedantic -Werror

* ptrdiff_t check always failed because of unused parameter
* sizeof(void *) check always failed because of double semicolon
* Sign issue in nice_match assignment
* dist parameter of set_bytes may be unused
* Parameters of main may be unused in test/example.c
* snprintf requires a _POSIX_C_SOURCE #define in test/minigzip.c,
  because a _POSIX_SOURCE #define is present
configure
match_p.h
memcopy.h
test/example.c
test/minigzip.c