Commit 02fe3ca2349e45eee6dff6ca46bf9a9187f382c5

Mark Wielaard 2019-06-23T23:52:03

bzip2.c (testStream): Remove set, but not used nread variable. Modern GCC warns: bzip2.c: In function ‘testStream’: bzip2.c:557:37: warning: variable ‘nread’ set but not used [-Wunused-but-set-variable] Int32 bzerr, bzerr_dummy, ret, nread, streamNo, i; ^~~~~ GCC is correct. In testStream we don't care about the number of bytes read by BZ2_bzRead. So just remove the variable and the assignment.