From 11e1cc9939a85dbfade133dd755e7355653f0bbc Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 29 Aug 2016 05:54:07 +0200 Subject: [PATCH] Remove unnecessary ScriptFrame variable refs #12509 --- lib/config/vmops.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/config/vmops.hpp b/lib/config/vmops.hpp index fe557d07b..05351dad3 100644 --- a/lib/config/vmops.hpp +++ b/lib/config/vmops.hpp @@ -102,8 +102,6 @@ public: static inline Value FunctionCall(ScriptFrame& frame, const Value& self, const Function::Ptr& func, const std::vector& arguments) { - ScriptFrame vframe; - if (!self.IsEmpty() || self.IsString()) return func->Invoke(self, arguments); else -- 2.50.0