mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
minor: remove a couple of compiler warnings
This commit is contained in:
@@ -351,7 +351,7 @@ namespace OpenSim.Framework
|
||||
|
||||
private void ReadNiniConfig(IConfigSource source, string name)
|
||||
{
|
||||
bool creatingNew = false;
|
||||
// bool creatingNew = false;
|
||||
|
||||
if (source.Configs.Count == 0)
|
||||
{
|
||||
@@ -368,7 +368,7 @@ namespace OpenSim.Framework
|
||||
|
||||
source.AddConfig(name);
|
||||
|
||||
creatingNew = true;
|
||||
// creatingNew = true;
|
||||
}
|
||||
|
||||
if (name == String.Empty)
|
||||
@@ -378,7 +378,7 @@ namespace OpenSim.Framework
|
||||
{
|
||||
source.AddConfig(name);
|
||||
|
||||
creatingNew = true;
|
||||
// creatingNew = true;
|
||||
}
|
||||
|
||||
IConfig config = source.Configs[name];
|
||||
@@ -397,15 +397,8 @@ namespace OpenSim.Framework
|
||||
|
||||
RegionID = new UUID(regionUUID);
|
||||
originRegionID = RegionID; // What IS this?!
|
||||
|
||||
|
||||
// Region name
|
||||
//
|
||||
|
||||
RegionName = name;
|
||||
|
||||
|
||||
// Region location
|
||||
//
|
||||
string location = config.GetString("Location", String.Empty);
|
||||
|
||||
if (location == String.Empty)
|
||||
@@ -421,12 +414,9 @@ namespace OpenSim.Framework
|
||||
|
||||
|
||||
// Datastore (is this implemented? Omitted from example!)
|
||||
//
|
||||
DataStore = config.GetString("Datastore", String.Empty);
|
||||
|
||||
|
||||
// Internal IP
|
||||
//
|
||||
IPAddress address;
|
||||
|
||||
if (config.Contains("InternalAddress"))
|
||||
|
||||
Reference in New Issue
Block a user