diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-08-07 16:43:36 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-09-08 17:04:32 +0100 |
commit | c19847d27950680e3afb95e9953a3d0a4cecdf14 (patch) | |
tree | 99272b85d3d194be7e58df3d20767d4e3f59207e | |
parent | 0775b7afe68d7d77f1d8f03e0ccb3ff99cf00790 (diff) | |
download | mupdf-c19847d27950680e3afb95e9953a3d0a4cecdf14.tar.xz |
Remove unnecessary conditional.
The conditional is always == 255 here.
-rw-r--r-- | source/fitz/draw-paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-paint.c b/source/fitz/draw-paint.c index e59b93fc..8357d5a1 100644 --- a/source/fitz/draw-paint.c +++ b/source/fitz/draw-paint.c @@ -1308,7 +1308,7 @@ template_span_3_general(byte * restrict dp, int da, const byte * restrict sp, in dp[1] = sp[1]; dp[2] = sp[2]; if (da) - dp[3] = (sa ? sp[3] : 255); + dp[3] = 255; } dp += 3+da; sp += 3+sa; } |