From 660843f9ea0e75b4efc78d17bbc5661c2d3ea2be Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Thu, 10 May 2018 19:11:37 +0000 Subject: Clean up post review comments Cleaning up some nits that came in after my previous codec CL had gone into the CQ. BUG=pdfium:1080 Change-Id: I3845136d370f73c9c96ef732e95b8cf0c9c79d91 Reviewed-on: https://pdfium-review.googlesource.com/32351 Reviewed-by: Tom Sepez Commit-Queue: Ryan Harrison --- core/fxcodec/fx_codec.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'core/fxcodec/fx_codec.h') diff --git a/core/fxcodec/fx_codec.h b/core/fxcodec/fx_codec.h index 91d9f2fb32..458358085a 100644 --- a/core/fxcodec/fx_codec.h +++ b/core/fxcodec/fx_codec.h @@ -57,19 +57,19 @@ class CFX_DIBAttribute { ~CFX_DIBAttribute(); #ifdef PDF_ENABLE_XFA_BMP - int32_t m_nBmpCompressType; + int32_t m_nBmpCompressType = 0; #endif // PDF_ENABLE_XFA_BMP #ifdef PDF_ENABLE_XFA_GIF - int32_t m_nGifLeft; - int32_t m_nGifTop; - uint32_t* m_pGifLocalPalette; - uint32_t m_nGifLocalPalNum; + int32_t m_nGifLeft = 0; + int32_t m_nGifTop = 0; + uint32_t* m_pGifLocalPalette = nullptr; + uint32_t m_nGifLocalPalNum = 0; #endif // PDF_ENABLE_XFA_GIF - int32_t m_nXDPI; - int32_t m_nYDPI; - float m_fAspectRatio; - uint16_t m_wDPIUnit; + int32_t m_nXDPI = -1; + int32_t m_nYDPI = -1; + float m_fAspectRatio = -1.0f; + uint16_t m_wDPIUnit = 0; std::map m_Exif; }; #endif // PDF_ENABLE_XFA -- cgit v1.2.3