New Ghostscript/GhostPDL compiler warnings - 2017-12-18-10:00:07 - 9fb23615725e8a2d6a722814a348094a48a41c36

[email protected] Mon, 18 Dec 2017 11:49:34 -0800 (PST)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20171218194934.9B59A204018A@i7>
Previous Revision: 561327c559cd8fa6cb5840a80806cff38ef9aa0b
 Current Revision: 9fb23615725e8a2d6a722814a348094a48a41c36

commit 9fb23615725e8a2d6a722814a348094a48a41c36
Author:     Ken Sharp <[email protected]>
AuthorDate: Mon Dec 18 16:38:31 2017 +0000
CommitDate: Mon Dec 18 16:40:02 2017 +0000

    pdfimage - support the '%d' output format specifier
    
    It hadn't occurred to me that anyone would want to do this, so I hadn't
    implemented it. On reflection its probably useful, and it should
    (finally) solve the all devices regression report problem.
    
    At the same time, add the file to the Windows solution so that we get
    debug information in it.

devices/gdevpdfimg.c
windows/ghostscript.vcproj



Ghostscript:

new scan-build warnings:

./devices/gdevpdfimg.c:1602:9: warning: Value stored to 'code' is never read
        code = pdf_image_finish_file(pdf_dev, 1);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

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




GhostPCL:

new scan-build warnings:

./devices/gdevpdfimg.c:1602:9: warning: Value stored to 'code' is never read
        code = pdf_image_finish_file(pdf_dev, 1);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

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