From b077723a201428de54fb4e68eabf7f2cd66c7cca Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 5 Jan 2009 20:58:57 +0000 Subject: * minor: remove some mono compiler warnings --- .../Modules/Communications/REST/RESTInterregionComms.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/Communications') diff --git a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs index 3e8599b..4daaab4 100644 --- a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs @@ -642,13 +642,11 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST protected virtual void DoDelete(Hashtable request, Hashtable responsedata, UUID id, string action, ulong regionHandle) { //Console.WriteLine(" >>> DoDelete action:" + action + "; regionHandle:" + regionHandle); - bool result = true; + if (action.Equals("release")) - { - result = m_localBackend.SendReleaseAgent(regionHandle, id, ""); - } + m_localBackend.SendReleaseAgent(regionHandle, id, ""); else - result = m_localBackend.SendCloseAgent(regionHandle, id); + m_localBackend.SendCloseAgent(regionHandle, id); responsedata["int_response_code"] = 200; responsedata["str_response_string"] = "OpenSim agent " + id.ToString(); -- cgit v1.1