From 4b65a95f5a60d7923edde99fdd0bcb223d85b582 Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Mon, 5 Dec 2016 13:43:45 +0100 Subject: [PATCH] codec: Minor code cleanup --- libfreerdp/codec/clear.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libfreerdp/codec/clear.c b/libfreerdp/codec/clear.c index 25f871acb..b0de302ca 100644 --- a/libfreerdp/codec/clear.c +++ b/libfreerdp/codec/clear.c @@ -662,7 +662,7 @@ static BOOL clear_decompress_bands_data(CLEAR_CONTEXT* clear, return FALSE; } - Stream_Read_UINT16(s, vBarHeader);; + Stream_Read_UINT16(s, vBarHeader); suboffset += 2; vBarHeight = (yEnd - yStart + 1); @@ -751,7 +751,6 @@ static BOOL clear_decompress_bands_data(CLEAR_CONTEXT* clear, } suboffset += (vBarShortPixelCount * 3); - vBarShortEntry->count = vBarShortPixelCount; clear->ShortVBarStorageCursor = (clear->ShortVBarStorageCursor + 1) % CLEARCODEC_VBAR_SHORT_SIZE; vBarUpdate = TRUE;