New muPDF compiler warnings - 2017-10-24-13:15:04 - 72c202c98ec708d48d54c21935430a2c733675e7
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20171024211833.5A19820401B1@i7> |
Previous Revision: 89b91112b810a6b29396b8f4e91c8bde92969e0e Current Revision: 72c202c98ec708d48d54c21935430a2c733675e7 commit 72c202c98ec708d48d54c21935430a2c733675e7 Author: Robin Watts <[email protected]> AuthorDate: Tue Jul 25 17:15:25 2017 +0100 CommitDate: Tue Oct 24 15:16:35 2017 +0100 Overprint support. Introduce an fz_overprint bitmap (currently just a uint32_t, but it'll grow to be an array of them if FZ_MAX_COLOR is increased). Pointers to this are passed into all our painting routines. NULL means "Do what you've always done before, with no overprint". non NULL, means that every set bit means "don't ever alter this component". We therefore set the overprint bitmap up according to the input color/colorspace/colorparams before calling each routine. source/fitz/draw-affine.c source/fitz/draw-device.c source/fitz/draw-edge.c source/fitz/draw-edgebuffer.c source/fitz/draw-imp.h source/fitz/draw-paint.c source/fitz/draw-rasterize.c source/fitz/paint-glyph.h muPDF: new gcc warnings (gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609): source/fitz/draw-device.c:1260:16: warning: variable 'eop' set but not used [-Wunused-but-set-variable] http://miles.ghostscript.com:8080/artifex/mupdf/72c202c98ec708d48d54c21935430a2c733675e7/mupdf-gcc-warnings.txt new scan-build warnings: source/fitz/draw-device.c:1300:3: warning: Value stored to 'eop' is never read eop = resolve_color(ctx, &op, shade->background, fz_default_colorspace(ctx, dev->default_cs, shade->colorspace), alpha, color_params, colorbv, state->dest, prf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/fitz/draw-device.c:423:49: warning: Access to field 'opm' results in a dereference of a null pointer (loaded from variable 'color_params') set_op_from_spaces(ctx, op, dest, colorspace, color_params->opm); ^~~~~~~~~~~~~~~~~ http://miles.ghostscript.com:8080/artifex/mupdf/72c202c98ec708d48d54c21935430a2c733675e7/mupdf/index.html http://miles.ghostscript.com:8080/artifex/mupdf/72c202c98ec708d48d54c21935430a2c733675e7/mupdf-scan-build.txt