summaryrefslogtreecommitdiff
path: root/source/fitz/pixmap.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-03-11 17:50:46 +0000
committerRobin Watts <robin.watts@artifex.com>2016-03-11 17:50:46 +0000
commit83423e5c044fc054cb219ef14798d30832cdd8e7 (patch)
tree42a4517630c4bee07f5b15d75aa3087126a3937c /source/fitz/pixmap.c
parent3272c66cee887b997171854484fa8a8086884b12 (diff)
downloadmupdf-83423e5c044fc054cb219ef14798d30832cdd8e7.tar.xz
Fix various warnings.
"Defined but not used" and "Set but not used" as seen with ndk-build.
Diffstat (limited to 'source/fitz/pixmap.c')
-rw-r--r--source/fitz/pixmap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/fitz/pixmap.c b/source/fitz/pixmap.c
index 6c6e6e53..61c91e2a 100644
--- a/source/fitz/pixmap.c
+++ b/source/fitz/pixmap.c
@@ -1332,8 +1332,11 @@ fz_subsample_pixmap_ARM(unsigned char *ptr, int w, int h, int f, int factor,
void
fz_subsample_pixmap(fz_context *ctx, fz_pixmap *tile, int factor)
{
- int dst_w, dst_h, w, h, fwd, fwd2, fwd3, back, back2, x, y, n, xx, yy, nn, f;
+ int dst_w, dst_h, w, h, fwd, fwd2, fwd3, back, back2, n, f;
unsigned char *s, *d;
+#ifndef ARCH_ARM
+ int x, y, xx, yy, nn;
+#endif
if (!tile)
return;