summaryrefslogtreecommitdiff
path: root/backend/dvi/mdvi-lib/bitmap.c
diff options
context:
space:
mode:
authorHib Eris <[email protected]>2011-12-19 14:03:10 +0100
committermonsta <[email protected]>2015-09-02 11:31:02 +0300
commit76bc1b06283335481d7826e5eac8238e3547e6dc (patch)
tree9bb7a9ecd3d3f34395de6d3f944f264bcb299b93 /backend/dvi/mdvi-lib/bitmap.c
parentfd91bcc72741c6c11befcf81724639f8f3e40e4b (diff)
downloadatril-76bc1b06283335481d7826e5eac8238e3547e6dc.tar.bz2
atril-76bc1b06283335481d7826e5eac8238e3547e6dc.tar.xz
Remove unused variables from mdvi-lib
Diffstat (limited to 'backend/dvi/mdvi-lib/bitmap.c')
-rw-r--r--backend/dvi/mdvi-lib/bitmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/backend/dvi/mdvi-lib/bitmap.c b/backend/dvi/mdvi-lib/bitmap.c
index 6edec1df..4417a75b 100644
--- a/backend/dvi/mdvi-lib/bitmap.c
+++ b/backend/dvi/mdvi-lib/bitmap.c
@@ -131,7 +131,6 @@ BITMAP *bitmap_convert_lsb8(Uchar *bits, int w, int h, int stride)
int i;
Uchar *unit;
register Uchar *curr;
- Uchar *end;
int bytes;
DEBUG((DBG_BITMAP_OPS, "convert LSB %dx%d@8 -> bitmap\n", w, h));
@@ -141,7 +140,6 @@ BITMAP *bitmap_convert_lsb8(Uchar *bits, int w, int h, int stride)
/* this is the number of bytes in the original bitmap */
bytes = ROUND(w, 8);
unit = (Uchar *)bm->data;
- end = unit + bm->stride;
curr = bits;
/* we try to do this as fast as we can */
for(i = 0; i < h; i++) {