summaryrefslogtreecommitdiff
path: root/xfa/src/fxjse/src/value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxjse/src/value.cpp')
-rw-r--r--xfa/src/fxjse/src/value.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/src/fxjse/src/value.cpp b/xfa/src/fxjse/src/value.cpp
index 1ef7ceecb8..a6d01843e1 100644
--- a/xfa/src/fxjse/src/value.cpp
+++ b/xfa/src/fxjse/src/value.cpp
@@ -500,9 +500,6 @@ FX_BOOL CFXJSE_Value::Call(CFXJSE_Value* lpReceiver,
v8::Local<v8::Value>* lpLocalArgs = NULL;
if (nArgCount) {
lpLocalArgs = FX_Alloc(v8::Local<v8::Value>, nArgCount);
- if (!lpLocalArgs) {
- return FALSE;
- }
for (uint32_t i = 0; i < nArgCount; i++) {
new (lpLocalArgs + i) v8::Local<v8::Value>;
CFXJSE_Value* lpArg = (CFXJSE_Value*)lpArgs[i];