New Ghostscript/GhostPDL compiler warnings - 2018-07-15-05:00:01 - fc4940d6aabebd6516befefc0b51676ccc332a7f

[email protected] Sun, 15 Jul 2018 06:18:19 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180715131819.7037F204052D@i7>
Previous Revision: e4e1e6ac335eaccd92eff57308e173ac67a392f0
 Current Revision: fc4940d6aabebd6516befefc0b51676ccc332a7f

commit fc4940d6aabebd6516befefc0b51676ccc332a7f
Author:     Sebastian Rasmussen <[email protected]>
AuthorDate: Thu May 24 03:26:43 2018 +0800
CommitDate: Fri Jul 13 16:54:30 2018 +0800

    jbig2dec: Pages without decoded images cannot be completed.

jbig2dec/jbig2_page.c



Ghostscript:

new gcc warnings (gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609): 

./jbig2dec/jbig2_page.c:191:9: warning: variable 'code' set but not used [-Wunused-but-set-variable]

http://miles.ghostscript.com:8080/artifex/fc4940d6aabebd6516befefc0b51676ccc332a7f/gs-gcc-warnings.txt



new scan-build warnings:

./jbig2dec/jbig2_page.c:191:9: warning: variable 'code' set but not used [-Wunused-but-set-variable]
     int code;
         ^

./jbig2dec/jbig2_page.c:203:13: warning: Value stored to 'code' is never read
            code = jbig2_parse_segment(ctx, segment, ctx->buf + ctx->buf_rd_ix);
            ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/fc4940d6aabebd6516befefc0b51676ccc332a7f/gs/index.html

http://miles.ghostscript.com:8080/artifex/fc4940d6aabebd6516befefc0b51676ccc332a7f/gs-scan-build.txt




GhostPCL:

new gcc warnings (gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609): 

./jbig2dec/jbig2_page.c:191:9: warning: variable 'code' set but not used [-Wunused-but-set-variable]

http://miles.ghostscript.com:8080/artifex/fc4940d6aabebd6516befefc0b51676ccc332a7f/pcl-gcc-warnings.txt



new scan-build warnings:

./jbig2dec/jbig2_page.c:191:9: warning: variable 'code' set but not used [-Wunused-but-set-variable]
     int code;
         ^

./jbig2dec/jbig2_page.c:203:13: warning: Value stored to 'code' is never read
            code = jbig2_parse_segment(ctx, segment, ctx->buf + ctx->buf_rd_ix);
            ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/fc4940d6aabebd6516befefc0b51676ccc332a7f/pcl/index.html

http://miles.ghostscript.com:8080/artifex/fc4940d6aabebd6516befefc0b51676ccc332a7f/pcl-scan-build.txt