From 94320b713b27ada8fe496344a9f6e81014f0dd16 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 8 Nov 2017 17:55:41 +0100 Subject: Remove unused variables. --- source/fitz/output-tga.c | 1 - source/fitz/stext-search.c | 2 -- 2 files changed, 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) -- cgit v1.2.3