New Ghostscript/GhostPDL compiler warnings - 2018-01-11-06:15:12 - 9b3b93ca92f8b9370d4cb5a4e6176df1a06afeda

[email protected] Thu, 11 Jan 2018 08:13:34 -0800 (PST)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180111161334.5DD7120401A2@i7>
Previous Revision: c56dff6dea636c89b7c24bbec7b28f15171d7810
 Current Revision: 9b3b93ca92f8b9370d4cb5a4e6176df1a06afeda

commit 9b3b93ca92f8b9370d4cb5a4e6176df1a06afeda
Author:     Robin Watts <[email protected]>
AuthorDate: Thu Jan 11 12:03:30 2018 +0000
CommitDate: Thu Jan 11 12:52:17 2018 +0000

    ROP optimisation: Map more rops onto one another.
    
    Establish an ordering on rops ("unused" < "constant" <
    "bitmap" < "1 bit bitmap") and swap orders such that S
    is always >= T.
    
    This cuts the number of cases down a bit more.

base/gsroprun.c



Ghostscript:

new scan-build warnings:

./base/gsroprun24.h:98:18: warning: Value stored to 's' during its initialization is never read
    const byte  *s = op->s.b.ptr;
                 ^   ~~~~~~~~~~~

./base/gsroprun8.h:91:18: warning: Value stored to 's' during its initialization is never read
    const byte  *s = op->s.b.ptr;
                 ^   ~~~~~~~~~~~


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

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




GhostPCL:

new scan-build warnings:

./base/gsroprun24.h:98:18: warning: Value stored to 's' during its initialization is never read
    const byte  *s = op->s.b.ptr;
                 ^   ~~~~~~~~~~~

./base/gsroprun8.h:91:18: warning: Value stored to 's' during its initialization is never read
    const byte  *s = op->s.b.ptr;
                 ^   ~~~~~~~~~~~


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

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