New Ghostscript/GhostPDL compiler warnings - 2018-01-15-10:15:04 - ead0b5bee31a6e2756749a5c8fb6508e49b64703

[email protected] Mon, 15 Jan 2018 11:32:10 -0800 (PST)
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20180115193210.3F19B204025E@i7>
Previous Revision: 2e86e7f64ed169345c9fb49b9c9eaf0a1bf78720
 Current Revision: ead0b5bee31a6e2756749a5c8fb6508e49b64703

commit ead0b5bee31a6e2756749a5c8fb6508e49b64703
Author:     Chris Liddell <[email protected]>
AuthorDate: Mon Jan 15 13:48:27 2018 +0000
CommitDate: Mon Jan 15 13:48:27 2018 +0000

    Bug 698856: Ensure is_glyph_index flag is consistently set
    
    The is_glyph_index is (now) set as a local variable, then copied to
    the structure before the ps_get_glyphname_or_cid() function returns.
    
    A couple of branches in the code were still setting the structure value directly
    meaning the local variable was wrong.

psi/zfapi.c



Ghostscript:

new clang warnings (clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)): 

./psi/zfapi.c:2031:28: warning: explicitly assigning value of variable of type 'bool' (aka 'int') to itself [-Wself-assign]
            is_glyph_index = is_glyph_index;
            ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~


http://miles.ghostscript.com:8080/artifex/ead0b5bee31a6e2756749a5c8fb6508e49b64703/gs-clang-warnings.txt