From d41f4752c81d2dc8635595df7a9ab2b07f571c53 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 4 May 2017 15:16:41 -0400 Subject: Remove unused IFX_Pause member MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The IFX_Pause param is stored but never used. Remove. Change-Id: I9e5298fc05c6d408873b7bee307a76dcf3d2d4da Reviewed-on: https://pdfium-review.googlesource.com/4931 Reviewed-by: Nicolás Peña Commit-Queue: dsinclair --- core/fxcodec/jbig2/JBig2_GrdProc.cpp | 2 -- core/fxcodec/jbig2/JBig2_GrdProc.h | 1 - 2 files changed, 3 deletions(-) diff --git a/core/fxcodec/jbig2/JBig2_GrdProc.cpp b/core/fxcodec/jbig2/JBig2_GrdProc.cpp index 675de9bcdd..21d6d80bc9 100644 --- a/core/fxcodec/jbig2/JBig2_GrdProc.cpp +++ b/core/fxcodec/jbig2/JBig2_GrdProc.cpp @@ -17,7 +17,6 @@ CJBig2_GRDProc::CJBig2_GRDProc() : m_loopIndex(0), m_pLine(nullptr), - m_pPause(nullptr), m_DecodeType(0), m_LTP(0) { m_ReplaceRect.left = 0; @@ -640,7 +639,6 @@ FXCODEC_STATUS CJBig2_GRDProc::Start_decode_Arith( return FXCODEC_STATUS_DECODE_FINISH; } m_ProssiveStatus = FXCODEC_STATUS_DECODE_READY; - m_pPause = pPause; if (!*pImage) *pImage = new CJBig2_Image(GBW, GBH); if (!(*pImage)->m_pData) { diff --git a/core/fxcodec/jbig2/JBig2_GrdProc.h b/core/fxcodec/jbig2/JBig2_GrdProc.h index a82aecbf12..1268192ef1 100644 --- a/core/fxcodec/jbig2/JBig2_GrdProc.h +++ b/core/fxcodec/jbig2/JBig2_GrdProc.h @@ -111,7 +111,6 @@ class CJBig2_GRDProc { uint32_t m_loopIndex; uint8_t* m_pLine; - IFX_Pause* m_pPause; FXCODEC_STATUS m_ProssiveStatus; CJBig2_Image** m_pImage; CJBig2_ArithDecoder* m_pArithDecoder; -- cgit v1.2.3