From e6406b39d09f765f5f1a1530a3a737f17a0666c1 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 21 May 2015 14:54:17 -0700 Subject: Fix four annoying warnings: Two "set but unused", one of which is surely an artifact from copying code around, and the other which ought to be used for the sake of clarity. Two are unknown "optimize" pragmas, remove them since the code has been shipped for years on other platforms under full optimization. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1148353002 --- core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp') diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp index 8ec490a9e8..924c88e421 100644 --- a/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp +++ b/core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp @@ -73,7 +73,6 @@ CPDF_PSProc::~CPDF_PSProc() } } } -#pragma optimize( "", off ) FX_BOOL CPDF_PSProc::Execute(CPDF_PSEngine* pEngine) { int size = m_Operators.GetSize(); @@ -107,7 +106,6 @@ FX_BOOL CPDF_PSProc::Execute(CPDF_PSEngine* pEngine) } return TRUE; } -#pragma optimize( "", on ) CPDF_PSEngine::CPDF_PSEngine() { m_StackCount = 0; -- cgit v1.2.3