diff options
author | Johan Berntsson | 2008-03-11 04:40:39 +0000 |
---|---|---|
committer | Johan Berntsson | 2008-03-11 04:40:39 +0000 |
commit | f0bfb879798e87296e13063203d5b18a1aa1097f (patch) | |
tree | 675b3442cf477d8ed242cb23c97bd610e98d0492 /OpenSim/Region/Application | |
parent | The plugin loader can now handle plugin dependencies without hardcoding (diff) | |
download | opensim-SC-f0bfb879798e87296e13063203d5b18a1aa1097f.zip opensim-SC-f0bfb879798e87296e13063203d5b18a1aa1097f.tar.gz opensim-SC-f0bfb879798e87296e13063203d5b18a1aa1097f.tar.bz2 opensim-SC-f0bfb879798e87296e13063203d5b18a1aa1097f.tar.xz |
Eliminated several compiler warning messages
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 33d0999..fd3a57f 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -521,11 +521,6 @@ namespace OpenSim | |||
521 | return udpServer; | 521 | return udpServer; |
522 | } | 522 | } |
523 | 523 | ||
524 | private static void CreateDefaultRegionInfoXml(string fileName) | ||
525 | { | ||
526 | new RegionInfo("DEFAULT REGION CONFIG", fileName,false); | ||
527 | } | ||
528 | |||
529 | protected override StorageManager CreateStorageManager(string connectionstring) | 524 | protected override StorageManager CreateStorageManager(string connectionstring) |
530 | { | 525 | { |
531 | return new StorageManager(m_storageDll, connectionstring, m_storagePersistPrimInventories); | 526 | return new StorageManager(m_storageDll, connectionstring, m_storagePersistPrimInventories); |
@@ -1254,14 +1249,7 @@ namespace OpenSim | |||
1254 | /// <param name="usernum">The first out parameter describing the number of all the avatars in the Region server</param> | 1249 | /// <param name="usernum">The first out parameter describing the number of all the avatars in the Region server</param> |
1255 | public void GetAvatarNumber(out int usernum) | 1250 | public void GetAvatarNumber(out int usernum) |
1256 | { | 1251 | { |
1257 | int accounter = 0; | 1252 | usernum = m_sceneManager.GetCurrentSceneAvatars().Count; |
1258 | |||
1259 | foreach (ScenePresence presence in m_sceneManager.GetCurrentSceneAvatars()) { | ||
1260 | //presence.RegionHandle; | ||
1261 | accounter++; | ||
1262 | } | ||
1263 | |||
1264 | usernum = accounter; | ||
1265 | } | 1253 | } |
1266 | 1254 | ||
1267 | /// <summary> | 1255 | /// <summary> |