diff options
author | Stefano Karapetsas <[email protected]> | 2015-09-04 11:08:48 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2015-09-04 11:08:48 +0200 |
commit | ae166272bb8a52e08fc8750069a1c273177d48ea (patch) | |
tree | 204471195b02809749127965f23db3be1bffd236 /backend/dvi/mdvi-lib/bitmap.c | |
parent | de87cfc36812298c0d8ad76079cc09e4b7f80aa9 (diff) | |
parent | 03f942ae10a7b210dda3e1d9989868ca48d6688d (diff) | |
download | atril-ae166272bb8a52e08fc8750069a1c273177d48ea.tar.bz2 atril-ae166272bb8a52e08fc8750069a1c273177d48ea.tar.xz |
Merge pull request #156 from monsta/stuff
some minor cleanup (mostly from upstream)
Diffstat (limited to 'backend/dvi/mdvi-lib/bitmap.c')
-rw-r--r-- | backend/dvi/mdvi-lib/bitmap.c | 2 |
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++) { |