New muPDF compiler warnings - 2017-11-08-12:45:10 - 94a5846502cd1f05ec4127872ef06dcd8606f34b
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20171108212021.3293220401B0@i7> |
Previous Revision: 0d74d784804c8ac5013a74d6008b33afbc122074 Current Revision: 94a5846502cd1f05ec4127872ef06dcd8606f34b commit 94a5846502cd1f05ec4127872ef06dcd8606f34b Author: Tor Andersson <[email protected]> AuthorDate: Tue Nov 7 19:32:37 2017 +0100 CommitDate: Wed Nov 8 17:57:09 2017 +0100 Remove broken bidi reordering code. TODO: Implement visual to logical reordering on the fly when building the structured text line. include/mupdf/fitz/structured-text.h source/fitz/stext-device.c source/fitz/stext-search.c source/fitz/trace-device.c muPDF: new gcc warnings (gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609): source/fitz/stext-device.c:236:6: warning: variable 'rtl' set but not used [-Wunused-but-set-variable] http://miles.ghostscript.com:8080/artifex/mupdf/94a5846502cd1f05ec4127872ef06dcd8606f34b/mupdf-gcc-warnings.txt new scan-build warnings: source/fitz/stext-device.c:357:6: warning: Value stored to 'rtl' is never read rtl = 0; /* backward (or big jump to 'right' side) means logical order */ ^ ~ source/fitz/stext-device.c:359:6: warning: Value stored to 'rtl' is never read rtl = 1; /* visual order, we need to reverse in a post process pass */ ^ ~ http://miles.ghostscript.com:8080/artifex/mupdf/94a5846502cd1f05ec4127872ef06dcd8606f34b/mupdf/index.html http://miles.ghostscript.com:8080/artifex/mupdf/94a5846502cd1f05ec4127872ef06dcd8606f34b/mupdf-scan-build.txt