MSVC "cannot allocate an array of constant size 0". The argument isnt
accessed anyway, so we can just pass 0 instead.
Change-Id: I3d65707148f045f2ed2779604c164297830bfe87
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
v8::Context::Scope contextScope(debuggerContext);
v8::Handle<v8::Function> getScriptsFn =
v8::Local<v8::Function>::Cast(d->debuggerScript->Get(v8::String::New("getScripts")));
- v8::Handle<v8::Value> argv[] = {};
- v8::Handle<v8::Value> result = getScriptsFn->Call(d->debuggerScript, 0, argv);
+ v8::Handle<v8::Value> result = getScriptsFn->Call(d->debuggerScript, 0, 0);
if (result.IsEmpty())
return;