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