New Ghostscript/GhostPDL compiler warnings - 2019-04-24-13:45:27 - 8881a51d55df7df70f4e0083be8569e09213dfba

[email protected] Wed, 24 Apr 2019 13:51:02 -0700 (PDT)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20190424205107.76E6C2040A6B@i7>
Previous Revision: 7f34ef8c946be47d5a5dcc412b3da608a0066c44
 Current Revision: 8881a51d55df7df70f4e0083be8569e09213dfba

commit 8881a51d55df7df70f4e0083be8569e09213dfba
Author:     Michael Vrhel <[email protected]>
AuthorDate: Tue Apr 23 21:32:00 2019 -0700
CommitDate: Wed Apr 24 07:16:41 2019 -0700

    Fix several warnings and issues from last commit.

base/gscsepr.c
base/gsicc_cache.c
base/gxcmap.c



Ghostscript:

new scan-build warnings:

./base/gsicc_cache.c:1502:13: warning: Value stored to 'count' is never read
            count = sscanf(pch, "%f", &(lab[j]));
            ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/8881a51d55df7df70f4e0083be8569e09213dfba/gs/index.html

http://miles.ghostscript.com:8080/artifex/8881a51d55df7df70f4e0083be8569e09213dfba/gs-scan-build.txt




GhostPCL:

new scan-build warnings:

./base/gsicc_cache.c:1502:13: warning: Value stored to 'count' is never read
            count = sscanf(pch, "%f", &(lab[j]));
            ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/8881a51d55df7df70f4e0083be8569e09213dfba/pcl/index.html

http://miles.ghostscript.com:8080/artifex/8881a51d55df7df70f4e0083be8569e09213dfba/pcl-scan-build.txt