diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs index 44a28a21bc..827a03bd74 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 public void TestCreateFolder() { TestCommunicationsManager commsManager = new TestCommunicationsManager(); - - IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin; IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); @@ -130,8 +128,6 @@ namespace OpenSim.Framework.Communications.Tests public void TestUpdateFolder() { TestCommunicationsManager commsManager = new TestCommunicationsManager(); - - IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin; IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); @@ -189,8 +185,6 @@ namespace OpenSim.Framework.Communications.Tests public void TestMoveFolder() { TestCommunicationsManager commsManager = new TestCommunicationsManager(); - - IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin; IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); @@ -227,8 +221,6 @@ namespace OpenSim.Framework.Communications.Tests //log4net.Config.XmlConfigurator.Configure(); TestCommunicationsManager commsManager = new TestCommunicationsManager(); - - IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin; IInventoryDataPlugin inventoryDataPlugin = commsManager.InventoryDataPlugin; CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs index 705e77ff38..09c23a270d 100644 --- a/OpenSim/Region/UserStatistics/WebStatsModule.cs +++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs @@ -93,7 +93,7 @@ namespace OpenSim.Region.UserStatistics { if (m_scene.Count == 0) { - IConfig startupConfig = config.Configs["Startup"]; + //IConfig startupConfig = config.Configs["Startup"]; dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3"); dbConn.Open(); @@ -159,7 +159,7 @@ namespace OpenSim.Region.UserStatistics } public Hashtable HandleUnknownCAPSRequest(Hashtable request) { - string regpath = request["uri"].ToString(); + //string regpath = request["uri"].ToString(); int response_code = 200; string contenttype = "text/html"; UpdateUserStats(ParseViewerStats(request["body"].ToString(), UUID.Zero), dbConn);