New Ghostscript/GhostPDL compiler warnings - 2018-01-31-04:30:05 - 68fcaea85611267eec9f4bac3443977fe15627dc
[email protected] Wed, 31 Jan 2018 06:24:18 -0800 (PST)
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20180131142418.1E7A120401E8@i7> |
Previous Revision: 07f9da3cb5647b18458cd52d1be35ab5365790eb Current Revision: 68fcaea85611267eec9f4bac3443977fe15627dc commit 68fcaea85611267eec9f4bac3443977fe15627dc Author: Ken Sharp <[email protected]> AuthorDate: Wed Jan 31 09:59:01 2018 +0000 CommitDate: Wed Jan 31 09:59:24 2018 +0000 squash GCC warnings remove an unused variable from a (large) macro in gxfilltr.h remove some unused variables, and an entire unused function in sjpx_openjpeg.c remove an unused variable in gdevbit.c remove an unused variable in gdevjpeg.c bracket a variable declaration and usage with #ifdef DEBUG to prevent the compiler warning that the variable is set but not read on non-debug builds. gdevxps.c preserve 'const' when passing a memory pointer to a procedure to avoid a warning about discarding const. zcie.c base/gxfilltr.h base/sjpx_openjpeg.c devices/gdevbit.c devices/gdevjpeg.c devices/vector/gdevxps.c psi/zcie.c Ghostscript: new clang warnings (clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)): ./base/sjpx_openjpeg.c:322:1: warning: unused function 'get_scaled_idx' [-Wunused-function] get_scaled_idx(stream_jpxd_state *state, int compno, unsigned long idx, unsigned long x, unsigned long y) ^ http://miles.ghostscript.com:8080/artifex/68fcaea85611267eec9f4bac3443977fe15627dc/gs-clang-warnings.txt