summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-07-30 19:00:31 -0700
committerNico Weber <thakis@chromium.org>2014-07-30 19:00:31 -0700
commit55681f9c135c978cf4ca525dc1d26ff330e83029 (patch)
tree247345a0fb6748af9b868151b1ea59f742e91ba6 /fpdfsdk/src/javascript
parentec570e5f77986f6013ea42741001be5a3fcf47a7 (diff)
downloadpdfium-55681f9c135c978cf4ca525dc1d26ff330e83029.tar.xz
Remove a few unused variables, functions, and member variables.
No intended behavior change. BUG=pdfium:29 R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/426763003
Diffstat (limited to 'fpdfsdk/src/javascript')
-rw-r--r--fpdfsdk/src/javascript/PublicMethods.cpp2
-rw-r--r--fpdfsdk/src/javascript/app.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/src/javascript/PublicMethods.cpp b/fpdfsdk/src/javascript/PublicMethods.cpp
index e307f432d3..1bd980af14 100644
--- a/fpdfsdk/src/javascript/PublicMethods.cpp
+++ b/fpdfsdk/src/javascript/PublicMethods.cpp
@@ -1074,7 +1074,7 @@ FX_BOOL CJS_PublicMethods::AFNumber_Format(OBJ_METHOD_PARAMS)
int iDec = params[0];
int iSepStyle = params[1];
int iNegStyle = params[2];
- int icurrStyle = params[3]; //it's no use!
+ // params[3] is iCurrStyle, it's not used.
std::wstring wstrCurrency(params[4].operator CFX_WideString());
FX_BOOL bCurrencyPrepend = params[5];
diff --git a/fpdfsdk/src/javascript/app.cpp b/fpdfsdk/src/javascript/app.cpp
index 0546be8f86..c9a9ef7017 100644
--- a/fpdfsdk/src/javascript/app.cpp
+++ b/fpdfsdk/src/javascript/app.cpp
@@ -120,7 +120,6 @@ IMPLEMENT_JS_CLASS(CJS_App,app)
app::app(CJS_Object * pJSObject) : CJS_EmbedObj(pJSObject) ,
m_bCalculate(true),
- m_pRuntime(NULL),
m_bRuntimeHighLight(false)
// m_pMenuHead(NULL)
{