From 65ffa4a4ee599194118a0ddf3c26fc3674120b4a Mon Sep 17 00:00:00 2001 From: weili Date: Wed, 13 Apr 2016 10:26:53 -0700 Subject: Re-enable warning 4701 for GN build and some cleanup Clean up three 4701 warnings (use potientially uninitialized variable) which are the only ones left; Re-enable warning 4701 for GN build; Remove an unused data structure; BUG=pdfium:29 Review URL: https://codereview.chromium.org/1885093002 --- core/fxcodec/jbig2/JBig2_Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxcodec/jbig2') diff --git a/core/fxcodec/jbig2/JBig2_Context.cpp b/core/fxcodec/jbig2/JBig2_Context.cpp index 1ff78e121f..5a0b2c0d73 100644 --- a/core/fxcodec/jbig2/JBig2_Context.cpp +++ b/core/fxcodec/jbig2/JBig2_Context.cpp @@ -1285,7 +1285,7 @@ JBig2HuffmanCode* CJBig2_Context::decodeSymbolIDHuffmanTable( std::unique_ptr SBSYMCODES( FX_Alloc(JBig2HuffmanCode, SBNUMSYMS)); - int32_t run; + int32_t run = 0; int32_t i = 0; while (i < (int)SBNUMSYMS) { size_t j; -- cgit v1.2.3