From b7f9d8ee6d9c1d9c0dfa2c64b7ad5fee4032d513 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 5 Oct 2017 15:38:39 -0400 Subject: Remove unused CPVT_SectionInfo::nTotalLines The nTotalLines member is set but never used. Removed. Change-Id: Iab59e0954fcdbab665cc477397a94cde66e6087e Reviewed-on: https://pdfium-review.googlesource.com/15710 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- core/fpdfdoc/cpvt_sectioninfo.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core/fpdfdoc/cpvt_sectioninfo.cpp') diff --git a/core/fpdfdoc/cpvt_sectioninfo.cpp b/core/fpdfdoc/cpvt_sectioninfo.cpp index a23d3e45da..cb1dc8907b 100644 --- a/core/fpdfdoc/cpvt_sectioninfo.cpp +++ b/core/fpdfdoc/cpvt_sectioninfo.cpp @@ -7,7 +7,7 @@ #include "core/fpdfdoc/cpvt_sectioninfo.h" #include "third_party/base/ptr_util.h" -CPVT_SectionInfo::CPVT_SectionInfo() : rcSection(), nTotalLine(0) {} +CPVT_SectionInfo::CPVT_SectionInfo() : rcSection() {} CPVT_SectionInfo::~CPVT_SectionInfo() {} @@ -18,7 +18,5 @@ CPVT_SectionInfo::CPVT_SectionInfo(const CPVT_SectionInfo& other) { void CPVT_SectionInfo::operator=(const CPVT_SectionInfo& other) { if (this == &other) return; - rcSection = other.rcSection; - nTotalLine = other.nTotalLine; } -- cgit v1.2.3