aboutsummaryrefslogtreecommitdiff
path: root/bzip2.1
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2019-06-23 23:52:03 +0200
committerMark Wielaard <mark@klomp.org>2019-06-23 23:52:03 +0200
commit02fe3ca2349e45eee6dff6ca46bf9a9187f382c5 (patch)
tree5fd51ce2ae7b2d54afa62b916d6d839b87d039a1 /bzip2.1
parent32db5b677a55fc32de6588deae2ac27c28728a05 (diff)
downloadbzip2-02fe3ca2349e45eee6dff6ca46bf9a9187f382c5.tar.gz
bzip2-02fe3ca2349e45eee6dff6ca46bf9a9187f382c5.tar.bz2
bzip2-02fe3ca2349e45eee6dff6ca46bf9a9187f382c5.zip
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.
Diffstat (limited to 'bzip2.1')
0 files changed, 0 insertions, 0 deletions