minor: remove some mono compiler warnings
parent
315fa06c75
commit
4b81393274
|
@ -123,8 +123,7 @@ namespace OpenSim.Services.GridService
|
||||||
if ((rflags & OpenSim.Data.RegionFlags.Reservation) != 0)
|
if ((rflags & OpenSim.Data.RegionFlags.Reservation) != 0)
|
||||||
{
|
{
|
||||||
// Regions reserved for the null key cannot be taken.
|
// Regions reserved for the null key cannot be taken.
|
||||||
//
|
if ((string)region.Data["PrincipalID"] == UUID.Zero.ToString())
|
||||||
if (region.Data["PrincipalID"] == UUID.Zero.ToString())
|
|
||||||
return "Region location us reserved";
|
return "Region location us reserved";
|
||||||
|
|
||||||
// Treat it as an auth request
|
// Treat it as an auth request
|
||||||
|
@ -132,7 +131,6 @@ namespace OpenSim.Services.GridService
|
||||||
// NOTE: Fudging the flags value here, so these flags
|
// NOTE: Fudging the flags value here, so these flags
|
||||||
// should not be used elsewhere. Don't optimize
|
// should not be used elsewhere. Don't optimize
|
||||||
// this with the later retrieval of the same flags!
|
// this with the later retrieval of the same flags!
|
||||||
//
|
|
||||||
rflags |= OpenSim.Data.RegionFlags.Authenticate;
|
rflags |= OpenSim.Data.RegionFlags.Authenticate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -489,7 +487,7 @@ namespace OpenSim.Services.GridService
|
||||||
f |= (OpenSim.Data.RegionFlags)val;
|
f |= (OpenSim.Data.RegionFlags)val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
MainConsole.Instance.Output("Error in flag specification: " + p);
|
MainConsole.Instance.Output("Error in flag specification: " + p);
|
||||||
}
|
}
|
||||||
|
|
|
@ -168,10 +168,11 @@ namespace OpenSim.Services.GridService
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sanity check.
|
// Sanity check.
|
||||||
IPAddress ipaddr = null;
|
//IPAddress ipaddr = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ipaddr = Util.GetHostFromDNS(host);
|
//ipaddr = Util.GetHostFromDNS(host);
|
||||||
|
Util.GetHostFromDNS(host);
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue