mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-09 05:18:30 +00:00
coverity: remove unused value
len is overwritten in the match label with the value from "ip - anchor". Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
657e1c5291
commit
83b84428ec
@ -214,9 +214,7 @@ static void FNAME(compress_seg)(Encoder *encoder, LzImageSegment *seg, PIXEL *fr
|
||||
ip += 3;
|
||||
ref = anchor + 2;
|
||||
ref_limit = (PIXEL *)(seg->lines_end);
|
||||
#if defined(LZ_RGB16) || defined(LZ_RGB24) || defined(LZ_RGB32)
|
||||
len = 3;
|
||||
#endif
|
||||
|
||||
goto match;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user