New Ghostscript/GhostPDL compiler warnings - 2018-11-05-03:30:07 - 1303a9a45124fdea7c4f29858ff900d2d3393c76

[email protected] Mon, 5 Nov 2018 05:44:03 -0800 (PST)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20181105134403.E3F8B2040500@i7>
Previous Revision: 045239d2d00d8febf1804703019c15eb99ac1cfd
 Current Revision: 1303a9a45124fdea7c4f29858ff900d2d3393c76

commit 1303a9a45124fdea7c4f29858ff900d2d3393c76
Author:     Robin Watts <[email protected]>
AuthorDate: Thu Nov 1 18:24:58 2018 +0000
CommitDate: Sat Nov 3 17:26:37 2018 +0000

    Scan converter: Zero height rectangles hack.
    
    Spot zero height rectangles, and arrange for them to be rendered.

base/gxscanc.c



Ghostscript:

new scan-build warnings:

./base/gxscanc.c:2087:9: warning: Value stored to 'code' is never read
        code = zero_case(pdev, path, &ibox, index, table, fixed_flat, fill_zero_app);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./base/gxscanc.c:2612:9: warning: Value stored to 'code' is never read
        code = zero_case(pdev, path, &ibox, index, table, fixed_flat, fill_zero_tr);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./base/gxscanc.c:4058:9: warning: Value stored to 'code' is never read
        code = zero_case(pdev, path, &ibox, index, table, fixed_flat, fill_zero_app_tr);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./base/gxscanc.c:879:9: warning: Value stored to 'code' is never read
        code = zero_case(pdev, path, &ibox, index, table, fixed_flat, fill_zero);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

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




GhostPCL:

new scan-build warnings:

./base/gxscanc.c:2087:9: warning: Value stored to 'code' is never read
        code = zero_case(pdev, path, &ibox, index, table, fixed_flat, fill_zero_app);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./base/gxscanc.c:2612:9: warning: Value stored to 'code' is never read
        code = zero_case(pdev, path, &ibox, index, table, fixed_flat, fill_zero_tr);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./base/gxscanc.c:4058:9: warning: Value stored to 'code' is never read
        code = zero_case(pdev, path, &ibox, index, table, fixed_flat, fill_zero_app_tr);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

./base/gxscanc.c:879:9: warning: Value stored to 'code' is never read
        code = zero_case(pdev, path, &ibox, index, table, fixed_flat, fill_zero);
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

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