[gs-commits] mupdf 1.16.1.37 Remove dead code.

[email protected] (Sebastian Rasmussen)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
commit 7a254528831fa2d25eca31fdf5931a58aaa491a6
Author: Sebastian Rasmussen <[email protected]>
Date:   Thu Sep 5 23:26:43 2019 +0200

    Remove dead code.

diff --git a/source/fitz/draw-blend.c b/source/fitz/draw-blend.c
index b795d91..d565d80 100644
--- a/source/fitz/draw-blend.c
+++ b/source/fitz/draw-blend.c
@@ -492,7 +492,7 @@ fz_blend_nonseparable(byte * FZ_RESTRICT bp, int bal, const byte * FZ_RESTRICT s
 
 				/* ugh, division to get non-premul components */
 				int invsa = sa ? 255 * 256 / sa : 0;
-				int invba = ba ? 255 * 256 / ba : 0;
+				int invba = 255 * 256 / ba;
 
 				int sr = (sp[0] * invsa) >> 8;
 				int sg = (sp[1] * invsa) >> 8;

http://git.ghostscript.com/?p=mupdf.git;a=commit;h=7a254528831fa2d25eca31fdf5931a58aaa491a6

--
MuPDF library
Artifex Software, Inc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.