From 1cc0c94f792c2fe5ad3f847ef7bccbcda13c7df7 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Sun, 6 Sep 2009 21:15:18 +0100 Subject: [PATCH] remove warning --- OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs index 838cafb820..917ca447c5 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs @@ -112,7 +112,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase if (!inits.ContainsKey(api)) return; - ILease lease = (ILease)RemotingServices.GetLifetimeService(data as MarshalByRefObject); + //ILease lease = (ILease)RemotingServices.GetLifetimeService(data as MarshalByRefObject); + RemotingServices.GetLifetimeService(data as MarshalByRefObject); // lease.Register(m_sponser); MethodInfo mi = inits[api];