summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-11-08 17:55:41 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-11-10 12:40:32 +0100
commit94320b713b27ada8fe496344a9f6e81014f0dd16 (patch)
tree31ba6d69c01cd9c4b0a394162ac5890e68f347f5
parent818474b987b79405c1c01de9b465eb4413727679 (diff)
downloadmupdf-94320b713b27ada8fe496344a9f6e81014f0dd16.tar.xz
Remove unused variables.
-rw-r--r--source/fitz/output-tga.c1
-rw-r--r--source/fitz/stext-search.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/source/fitz/output-tga.c b/source/fitz/output-tga.c
index 20d9983e..44b9ed88 100644
--- a/source/fitz/output-tga.c
+++ b/source/fitz/output-tga.c
@@ -119,7 +119,6 @@ tga_write_band(fz_context *ctx, fz_band_writer *writer_, int stride, int band_st
tga_band_writer *writer = (tga_band_writer *)writer_;
fz_output *out = writer->super.out;
int w = writer->super.w;
- int h = writer->super.h;
int n = writer->super.n;
int d = (writer->super.alpha && n > 1) ? 4 : (n == 1 ? 1 : 3);
int is_bgr = writer->is_bgr;
diff --git a/source/fitz/stext-search.c b/source/fitz/stext-search.c
index 975e89a9..3e2d08df 100644
--- a/source/fitz/stext-search.c
+++ b/source/fitz/stext-search.c
@@ -184,7 +184,6 @@ fz_enumerate_selection(fz_context *ctx, fz_stext_page *page, fz_point a, fz_poin
fz_stext_line *line;
fz_stext_char *ch;
int idx, start, end;
- int hit_count;
int inside;
start = find_closest_in_page(page, a);
@@ -196,7 +195,6 @@ fz_enumerate_selection(fz_context *ctx, fz_stext_page *page, fz_point a, fz_poin
if (start == end)
return;
- hit_count = 0;
inside = 0;
idx = 0;
for (block = page->first_block; block; block = block->next)