summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_page
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-05-08 11:03:55 -0700
committerLei Zhang <thestig@chromium.org>2015-05-08 11:03:55 -0700
commitf0a169e6fd5718995fa6ef8749c8d16cdad84985 (patch)
tree3194ef3427aee1c683efe6b54abdd65b2d6dff9d /core/src/fpdfapi/fpdf_page
parent21031ad28a73f0633e720997d310440c5bc31ec5 (diff)
downloadpdfium-f0a169e6fd5718995fa6ef8749c8d16cdad84985.tar.xz
Fix a bunch of -Wunused-but-set-variable warnings.
Also fix a few nits and other errors along the way. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1098583002
Diffstat (limited to 'core/src/fpdfapi/fpdf_page')
-rw-r--r--core/src/fpdfapi/fpdf_page/pageint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_page/pageint.h b/core/src/fpdfapi/fpdf_page/pageint.h
index d9d16a3134..df98312824 100644
--- a/core/src/fpdfapi/fpdf_page/pageint.h
+++ b/core/src/fpdfapi/fpdf_page/pageint.h
@@ -423,8 +423,9 @@ public:
~CPDF_IccProfile();
FX_INT32 GetComponents() const { return m_nSrcComponents; }
FX_BOOL m_bsRGB;
- FX_INT32 m_nSrcComponents;
FX_LPVOID m_pTransform;
+private:
+ FX_INT32 m_nSrcComponents;
};
class CPDF_DeviceCS : public CPDF_ColorSpace
{