]> granicus.if.org Git - icinga2/commitdiff
Remove unnecessary ScriptFrame variable
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 29 Aug 2016 03:54:07 +0000 (05:54 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 29 Aug 2016 03:54:07 +0000 (05:54 +0200)
refs #12509

lib/config/vmops.hpp

index fe557d07b388240cac62677d21f24e4354db31d0..05351dad32196d78aedaa330502bf7910ffb5d8a 100644 (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