codec: Minor code cleanup
authorMartin Fleisz <martin.fleisz@thincast.com>
Mon, 5 Dec 2016 12:43:45 +0000 (13:43 +0100)
committerMartin Fleisz <martin.fleisz@thincast.com>
Mon, 5 Dec 2016 12:43:45 +0000 (13:43 +0100)
libfreerdp/codec/clear.c

index 25f871a..b0de302 100644 (file)
@@ -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;