From 5570d23890cc7bae4903a29fbcf8ac543ba1a2c7 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 5 Nov 2015 08:46:13 -0800 Subject: Fix XFA compilation warnings, part 2 Mostly unused variables, unused private members, or initialization order. Added a few missing initializers for pointer members along the way. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1414903004 . --- xfa/src/fgas/include/fx_utl.h | 3 --- xfa/src/fgas/src/crt/fx_utils.cpp | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'xfa/src/fgas') diff --git a/xfa/src/fgas/include/fx_utl.h b/xfa/src/fgas/include/fx_utl.h index e4fcf78aba..3c4024f772 100644 --- a/xfa/src/fgas/include/fx_utl.h +++ b/xfa/src/fgas/include/fx_utl.h @@ -42,9 +42,6 @@ class CFX_ThreadLock { virtual ~CFX_ThreadLock(); void Lock(); void Unlock(); - - private: - void* m_pData; }; class CFX_BaseArray : public CFX_Target { protected: diff --git a/xfa/src/fgas/src/crt/fx_utils.cpp b/xfa/src/fgas/src/crt/fx_utils.cpp index 95f9e5c8da..8389452c81 100644 --- a/xfa/src/fgas/src/crt/fx_utils.cpp +++ b/xfa/src/fgas/src/crt/fx_utils.cpp @@ -8,7 +8,8 @@ #include "../fgas_base.h" #include "fx_utils.h" -CFX_ThreadLock::CFX_ThreadLock() : m_pData(NULL) {} +CFX_ThreadLock::CFX_ThreadLock() { +} CFX_ThreadLock::~CFX_ThreadLock() {} void CFX_ThreadLock::Lock() {} void CFX_ThreadLock::Unlock() {} -- cgit v1.2.3