summaryrefslogtreecommitdiffstats
path: root/common/lz_compress_tmpl.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-01-02 18:08:57 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-01-07 13:55:50 +0100
commit6674e1c136774243ff08f07a26e2ae02c260bbd1 (patch)
tree1bbec3168083898b7a2ef6f646077890718e7270 /common/lz_compress_tmpl.c
parent57ce430ccd66bd1ca2447c14503234cfb88e2365 (diff)
downloadspice-common-6674e1c136774243ff08f07a26e2ae02c260bbd1.tar.gz
spice-common-6674e1c136774243ff08f07a26e2ae02c260bbd1.tar.xz
spice-common-6674e1c136774243ff08f07a26e2ae02c260bbd1.zip
Remove unused variable
It was assigned a value, but then the value was never used.
Diffstat (limited to 'common/lz_compress_tmpl.c')
-rw-r--r--common/lz_compress_tmpl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/lz_compress_tmpl.c b/common/lz_compress_tmpl.c
index 2b66833..b5d0049 100644
--- a/common/lz_compress_tmpl.c
+++ b/common/lz_compress_tmpl.c
@@ -479,11 +479,9 @@ static void FNAME(compress)(Encoder *encoder)
LzImageSegment *cur_seg = encoder->head_image_segs;
HashEntry *hslot;
PIXEL *ip;
- PIXEL *ip_start;
// fetch the first image segment that is not too small
while (cur_seg && ((((PIXEL *)cur_seg->lines_end) - ((PIXEL *)cur_seg->lines)) < 4)) {
- ip_start = (PIXEL *)cur_seg->lines;
// coping the segment
if (cur_seg->lines != cur_seg->lines_end) {
ip = (PIXEL *)cur_seg->lines;