Remove unnecessary ScriptFrame variable

refs #12509
This commit is contained in:
Gunnar Beutner 2016-08-29 05:54:07 +02:00
parent ad0e4f4489
commit 11e1cc9939
1 changed files with 0 additions and 2 deletions

View File

@ -102,8 +102,6 @@ public:
static inline Value FunctionCall(ScriptFrame& frame, const Value& self, const Function::Ptr& func, const std::vector<Value>& arguments)
{
ScriptFrame vframe;
if (!self.IsEmpty() || self.IsString())
return func->Invoke(self, arguments);
else