[icinga-checkins] icinga.org: icinga2/master: Remove unnecessary ScriptFrame variable

git at icinga.org git at icinga.org
Mon Aug 29 05:54:43 CEST 2016


Module: icinga2
Branch: master
Commit: 11e1cc9939a85dbfade133dd755e7355653f0bbc
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=11e1cc9939a85dbfade133dd755e7355653f0bbc

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Mon Aug 29 05:54:07 2016 +0200

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 fe557d0..05351da 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<Value>& arguments)
 	{
-		ScriptFrame vframe;
-		
 		if (!self.IsEmpty() || self.IsString())
 			return func->Invoke(self, arguments);
 		else



More information about the icinga-checkins mailing list