New Ghostscript/GhostPDL compiler warnings - 2018-10-19-03:15:06 - 635dad8721def9da27e13b849ba8e37023703501

[email protected] Fri, 19 Oct 2018 04:45:34 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20181019114534.5BBEB20401C3@i7>
Previous Revision: eb473839eed3eeaf9acc7db4d88a3a0a8ca5f432
 Current Revision: 635dad8721def9da27e13b849ba8e37023703501

commit 635dad8721def9da27e13b849ba8e37023703501
Author:     Henry Stiles <[email protected]>
AuthorDate: Thu Oct 18 13:31:08 2018 -0600
CommitDate: Thu Oct 18 13:57:23 2018 -0600

    Remove unnecessary gs_opendevice() calls
    
    For reasons unknown the target device was being opened prior to the
    languages setting and opening the device with gs_setdevice_no_erase().
    This is unnecessary and apparently wrong, gs_opendevice() does not
    properly fill in the the device procedures (gx_device_fill_in_procs()).

pcl/pl/plmain.c
pcl/pxl/pxtop.c
xps/xpstop.c



GhostPCL:

new scan-build warnings:

./pcl/pxl/pxtop.c:229:5: warning: Value stored to 'stage' is never read
    stage = Sbegin;
    ^       ~~~~~~


http://miles.ghostscript.com:8080/artifex/635dad8721def9da27e13b849ba8e37023703501/pcl/index.html

http://miles.ghostscript.com:8080/artifex/635dad8721def9da27e13b849ba8e37023703501/pcl-scan-build.txt