mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
remove some more useless NULL arguments
This commit is contained in:
@@ -787,7 +787,7 @@ namespace OpenSim.Services.GridService
|
||||
|
||||
if (!UUID.TryParse(rawRegionUuid, out regionUuid))
|
||||
{
|
||||
MainConsole.Instance.Output("{0} is not a valid region uuid", null, rawRegionUuid);
|
||||
MainConsole.Instance.Output("{0} is not a valid region uuid", rawRegionUuid);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -795,18 +795,18 @@ namespace OpenSim.Services.GridService
|
||||
|
||||
if (region == null)
|
||||
{
|
||||
MainConsole.Instance.Output("No region with UUID {0}", null, regionUuid);
|
||||
MainConsole.Instance.Output("No region with UUID {0}", regionUuid);
|
||||
return;
|
||||
}
|
||||
|
||||
if (DeregisterRegion(regionUuid))
|
||||
{
|
||||
MainConsole.Instance.Output("Deregistered {0} {1}", null, region.RegionName, regionUuid);
|
||||
MainConsole.Instance.Output("Deregistered {0} {1}", region.RegionName, regionUuid);
|
||||
}
|
||||
else
|
||||
{
|
||||
// I don't think this can ever occur if we know that the region exists.
|
||||
MainConsole.Instance.Output("Error deregistering {0} {1}", null, region.RegionName, regionUuid);
|
||||
MainConsole.Instance.Output("Error deregistering {0} {1}", region.RegionName, regionUuid);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -843,7 +843,7 @@ namespace OpenSim.Services.GridService
|
||||
MainConsole.Instance.Output("it will count regions that are inactive but were not deregistered from the grid service");
|
||||
MainConsole.Instance.Output("(e.g. simulator crashed rather than shutting down cleanly).\n");
|
||||
|
||||
MainConsole.Instance.Output("Grid size: {0} km squared.", null, size / 1000000);
|
||||
MainConsole.Instance.Output("Grid size: {0} km squared.", size / 1000000);
|
||||
}
|
||||
|
||||
private void HandleShowRegion(string module, string[] cmd)
|
||||
@@ -892,7 +892,7 @@ namespace OpenSim.Services.GridService
|
||||
|
||||
if (region == null)
|
||||
{
|
||||
MainConsole.Instance.Output("No region found at {0},{1}", null, x, y);
|
||||
MainConsole.Instance.Output("No region found at {0},{1}", x, y);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user