diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-09-22 14:13:00 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-09-23 12:40:33 +0200 |
commit | 9a443ad598736a9faac39abc9bdceb0507fb05f8 (patch) | |
tree | 0834601fa68fda5c0f9aee6ed322a40f3b62c57c | |
parent | 0bf90ea8942a0ab55f0986ab92aeaaf1447865bc (diff) | |
download | mupdf-9a443ad598736a9faac39abc9bdceb0507fb05f8.tar.xz |
Fix warning: set but unused variable.
-rw-r--r-- | source/fitz/output-png.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/fitz/output-png.c b/source/fitz/output-png.c index 11696980..d5e0b48f 100644 --- a/source/fitz/output-png.c +++ b/source/fitz/output-png.c @@ -134,7 +134,7 @@ fz_write_png_band(fz_context *ctx, fz_output *out, fz_png_output_context *poc, i { unsigned char *dp; int y, x, k, err, finalband; - int w, h, n, alpha; + int w, h, n; if (!out || !sp || !poc) return; @@ -142,7 +142,6 @@ fz_write_png_band(fz_context *ctx, fz_output *out, fz_png_output_context *poc, i w = poc->w; h = poc->h; n = poc->n; - alpha = poc->alpha; finalband = (band_start+bandheight >= h); if (finalband) |