New muPDF compiler warnings - 2017-11-08-05:30:04 - 3119f69dd9536cdaab0719fba2898be894e8fc01

[email protected]
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20171108142302.8A93420401AF@i7>
Previous Revision: 520cc26d18c9ee245b56e9e91f9d4fcae02be5f0
 Current Revision: 3119f69dd9536cdaab0719fba2898be894e8fc01

commit 3119f69dd9536cdaab0719fba2898be894e8fc01
Author:     Robin Watts <[email protected]>
AuthorDate: Tue Nov 7 17:32:15 2017 +0000
CommitDate: Wed Nov 8 12:57:18 2017 +0000

    Pixmap writers for formats with alpha should handle premultiplied data.
    
    Any pixmap writers that can handle data with an alpha plane
    should accept that data in premultiplied form, and write it out
    appropriately for the file format.
    
    This avoids the need to unpremultiply data in mudraw, and solves
    the issue we were seeing where we want the png writer to be able
    to cope with premultiplied data (such as for the debug blending
    routines) and unpremultiplied data (such as that given after
    mudraw has unpremultiplied the data).

source/fitz/output-pnm.c
source/fitz/output-psd.c
source/fitz/output-tga.c
source/tools/mudraw.c



muPDF:

new scan-build warnings:

source/fitz/output-psd.c:309:4: warning: Value stored to 'b' is never read
                        b = buffer;
                        ^   ~~~~~~


http://miles.ghostscript.com:8080/artifex/mupdf/3119f69dd9536cdaab0719fba2898be894e8fc01/mupdf/index.html

http://miles.ghostscript.com:8080/artifex/mupdf/3119f69dd9536cdaab0719fba2898be894e8fc01/mupdf-scan-build.txt



new cppcheck warnings (Cppcheck 1.72): 

source/tools/mudraw.c:1256: error: Memory leak: p

http://miles.ghostscript.com:8080/artifex/mupdf/3119f69dd9536cdaab0719fba2898be894e8fc01/mupdf-cppcheck.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.