aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-06 15:26:30 +0000
committerJustin Clarke Casey2009-01-06 15:26:30 +0000
commit47a693ff1a9379c9f18e9bfcc51725ed20045a62 (patch)
tree18b048a87e4cabd4803f4376b20b63b46f8d45e5 /OpenSim
parent* Added three new events to SceneGraph: (diff)
downloadopensim-SC-47a693ff1a9379c9f18e9bfcc51725ed20045a62.zip
opensim-SC-47a693ff1a9379c9f18e9bfcc51725ed20045a62.tar.gz
opensim-SC-47a693ff1a9379c9f18e9bfcc51725ed20045a62.tar.bz2
opensim-SC-47a693ff1a9379c9f18e9bfcc51725ed20045a62.tar.xz
* remove mono compiler warnings
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs8
-rw-r--r--OpenSim/Region/UserStatistics/WebStatsModule.cs4
2 files changed, 2 insertions, 10 deletions
diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
index 44a28a2..827a03b 100644
--- a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
+++ b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
@@ -98,8 +98,6 @@ namespace OpenSim.Framework.Communications.Tests
98 public void TestCreateFolder() 98 public void TestCreateFolder()
99 { 99 {
100 TestCommunicationsManager commsManager = new TestCommunicationsManager(); 100 TestCommunicationsManager commsManager = new TestCommunicationsManager();
101
102 IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin;
103 IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; 101 IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
104 102
105 CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); 103 CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
@@ -130,8 +128,6 @@ namespace OpenSim.Framework.Communications.Tests
130 public void TestUpdateFolder() 128 public void TestUpdateFolder()
131 { 129 {
132 TestCommunicationsManager commsManager = new TestCommunicationsManager(); 130 TestCommunicationsManager commsManager = new TestCommunicationsManager();
133
134 IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin;
135 IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; 131 IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
136 132
137 CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); 133 CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
@@ -189,8 +185,6 @@ namespace OpenSim.Framework.Communications.Tests
189 public void TestMoveFolder() 185 public void TestMoveFolder()
190 { 186 {
191 TestCommunicationsManager commsManager = new TestCommunicationsManager(); 187 TestCommunicationsManager commsManager = new TestCommunicationsManager();
192
193 IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin;
194 IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; 188 IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
195 189
196 CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); 190 CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
@@ -227,8 +221,6 @@ namespace OpenSim.Framework.Communications.Tests
227 //log4net.Config.XmlConfigurator.Configure(); 221 //log4net.Config.XmlConfigurator.Configure();
228 222
229 TestCommunicationsManager commsManager = new TestCommunicationsManager(); 223 TestCommunicationsManager commsManager = new TestCommunicationsManager();
230
231 IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin;
232 IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; 224 IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin;
233 225
234 CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); 226 CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs
index 705e77f..09c23a2 100644
--- a/OpenSim/Region/UserStatistics/WebStatsModule.cs
+++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs
@@ -93,7 +93,7 @@ namespace OpenSim.Region.UserStatistics
93 { 93 {
94 if (m_scene.Count == 0) 94 if (m_scene.Count == 0)
95 { 95 {
96 IConfig startupConfig = config.Configs["Startup"]; 96 //IConfig startupConfig = config.Configs["Startup"];
97 97
98 dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3"); 98 dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3");
99 dbConn.Open(); 99 dbConn.Open();
@@ -159,7 +159,7 @@ namespace OpenSim.Region.UserStatistics
159 } 159 }
160 public Hashtable HandleUnknownCAPSRequest(Hashtable request) 160 public Hashtable HandleUnknownCAPSRequest(Hashtable request)
161 { 161 {
162 string regpath = request["uri"].ToString(); 162 //string regpath = request["uri"].ToString();
163 int response_code = 200; 163 int response_code = 200;
164 string contenttype = "text/html"; 164 string contenttype = "text/html";
165 UpdateUserStats(ParseViewerStats(request["body"].ToString(), UUID.Zero), dbConn); 165 UpdateUserStats(ParseViewerStats(request["body"].ToString(), UUID.Zero), dbConn);