minor: remove mono compiler warnings
parent
558704be8b
commit
dcfd343a1e
|
@ -547,7 +547,7 @@ namespace OpenSim.Grid.MessagingServer
|
|||
else
|
||||
m_log.InfoFormat("[SERVER] Registered with {0}", srv);
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
m_log.ErrorFormat("Unable to connect to server {0}. Server not running?", srv);
|
||||
success = false;
|
||||
|
@ -593,9 +593,9 @@ namespace OpenSim.Grid.MessagingServer
|
|||
if(!UserRespData.ContainsKey("responsestring"))
|
||||
success = false;
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
m_log.Error("Unable to connect to grid. User server not running?");
|
||||
m_log.ErrorFormat("Unable to connect to server {0}. Server not running?", srv);
|
||||
success = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
|
|||
|
||||
#region IRegionModule Members
|
||||
|
||||
private bool gridmode = false;
|
||||
//private bool gridmode = false;
|
||||
|
||||
private IMessageTransferModule m_TransferModule = null;
|
||||
|
||||
|
|
|
@ -565,23 +565,23 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
|
|||
/// </summary>
|
||||
/// <param name="regionID">UUID of region to get the region handle for</param>
|
||||
/// <returns></returns>
|
||||
private ulong getLocalRegionHandleFromUUID(UUID regionID)
|
||||
{
|
||||
ulong returnhandle = 0;
|
||||
|
||||
lock (m_Scenes)
|
||||
{
|
||||
foreach (Scene sn in m_Scenes)
|
||||
{
|
||||
if (sn.RegionInfo.RegionID == regionID)
|
||||
{
|
||||
returnhandle = sn.RegionInfo.RegionHandle;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return returnhandle;
|
||||
}
|
||||
// private ulong getLocalRegionHandleFromUUID(UUID regionID)
|
||||
// {
|
||||
// ulong returnhandle = 0;
|
||||
//
|
||||
// lock (m_Scenes)
|
||||
// {
|
||||
// foreach (Scene sn in m_Scenes)
|
||||
// {
|
||||
// if (sn.RegionInfo.RegionID == regionID)
|
||||
// {
|
||||
// returnhandle = sn.RegionInfo.RegionHandle;
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// return returnhandle;
|
||||
// }
|
||||
|
||||
/// <summary>
|
||||
/// Takes a GridInstantMessage and converts it into a Hashtable for XMLRPC
|
||||
|
|
Loading…
Reference in New Issue