summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-11-09 14:12:47 -0800
committerLei Zhang <thestig@chromium.org>2015-11-09 14:12:47 -0800
commitb155293cd514587c4c392d3ffebe2dfb5a765bd3 (patch)
treeb33da7afabf9927418966d59c2926a00120b393a /fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp
parenta688a049e516a050bc3dc473910096f255552386 (diff)
downloadpdfium-b155293cd514587c4c392d3ffebe2dfb5a765bd3.tar.xz
Merge to XFA: Remove a couple of unused variables.
-Wunused-variable triggers for PODs, but not for CFX_WideString. R=thakis@chromium.org TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1412423013 . (cherry picked from commit 3388f907ecac9e7662bca3bbfdf35721ded19f26) Review URL: https://codereview.chromium.org/1433703003 .
Diffstat (limited to 'fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp')
-rw-r--r--fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp b/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp
index bb7e14660d..01f12adb57 100644
--- a/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp
+++ b/fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp
@@ -61,8 +61,6 @@ TEST_F(FXJSV8Embeddertest, Getters) {
v8::Context::Scope context_scope(GetV8Context());
FXJSErr error;
- CFX_WideString wsInfo;
- CFX_WideString wsScript(kScript);
int sts = FXJS_Execute(isolate(), nullptr, kScript, &error);
EXPECT_EQ(0, sts);