Merge pull request #3716 from akallabeth/planar_warning_fix

Fixed uninitialized variable warning.
This commit is contained in:
Bernhard Miklautz 2017-01-23 13:44:18 +01:00 committed by GitHub
commit 5f26641b65

View File

@ -1121,7 +1121,7 @@ BYTE* freerdp_bitmap_compress_planar(BITMAP_PLANAR_CONTEXT* context,
UINT32 size;
BYTE* dstp;
UINT32 planeSize;
UINT32 dstSizes[4];
UINT32 dstSizes[4] = { 0 };
BYTE FormatHeader = 0;
if (!context || !context->rlePlanesBuffer)