minor: remove mono compiler warnings

0.6.1-post-fixes
Justin Clarke Casey 2008-11-17 16:22:21 +00:00
parent 558704be8b
commit dcfd343a1e
3 changed files with 21 additions and 21 deletions

View File

@ -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;
}
}

View File

@ -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;

View File

@ -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