warnings safari.
parent
078303af15
commit
05756e1fb9
|
@ -66,7 +66,7 @@ namespace OpenSim.Framework.Communications.Tests
|
|||
CachedUserInfo nonExistingUserInfo;
|
||||
|
||||
TestCommunicationsManager commsManager = new TestCommunicationsManager();
|
||||
Scene myScene = SceneSetupHelpers.SetupScene(commsManager, "");
|
||||
// Scene myScene = SceneSetupHelpers.SetupScene(commsManager, "");
|
||||
|
||||
// Check we can't retrieve info before it exists by uuid
|
||||
nonExistingUserInfo = commsManager.UserProfileCacheService.GetUserDetails(userId);
|
||||
|
|
|
@ -93,12 +93,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
|
|||
string userFirstName = "Jock";
|
||||
string userLastName = "Stirrup";
|
||||
UUID userId = UUID.Parse("00000000-0000-0000-0000-000000000020");
|
||||
CachedUserInfo userInfo;
|
||||
// CachedUserInfo userInfo;
|
||||
|
||||
lock (this)
|
||||
{
|
||||
userInfo
|
||||
= UserProfileTestUtils.CreateUserWithInventory(
|
||||
UserProfileTestUtils.CreateUserWithInventory(
|
||||
cm, userFirstName, userLastName, userId, InventoryReceived);
|
||||
Monitor.Wait(this, 60000);
|
||||
}
|
||||
|
|
|
@ -44,7 +44,9 @@ namespace OpenSim.Region.CoreModules.World.Land
|
|||
#region Member Variables
|
||||
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
#pragma warning disable 0429
|
||||
private const int landArrayMax = ((int)((int)Constants.RegionSize / 4) >= 64) ? (int)((int)Constants.RegionSize / 4) : 64;
|
||||
#pragma warning restore 0429
|
||||
private bool[,] m_landBitmap = new bool[landArrayMax,landArrayMax];
|
||||
|
||||
protected LandData m_landData = new LandData();
|
||||
|
|
|
@ -658,8 +658,8 @@ namespace OpenSim.Region.CoreModules.World.Land
|
|||
|
||||
public class LargeLandChannel : ILandChannel
|
||||
{
|
||||
private static readonly ILog m_log =
|
||||
LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
// private static readonly ILog m_log =
|
||||
// LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private RegionData RegData;
|
||||
private ILandChannel RootRegionLandChannel;
|
||||
private readonly List<RegionData> RegionConnections;
|
||||
|
|
|
@ -85,7 +85,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
|||
private static string m_freeSwitchRealm;
|
||||
private static string m_freeSwitchSIPProxy;
|
||||
private static bool m_freeSwitchAttemptUseSTUN;
|
||||
private static string m_freeSwitchSTUNServer;
|
||||
// private static string m_freeSwitchSTUNServer;
|
||||
private static string m_freeSwitchEchoServer;
|
||||
private static int m_freeSwitchEchoPort;
|
||||
private static string m_freeSwitchDefaultWellKnownIP;
|
||||
|
@ -144,7 +144,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
|||
m_freeSwitchRealm = m_config.GetString("freeswitch_realm", String.Empty);
|
||||
m_freeSwitchSIPProxy = m_config.GetString("freeswitch_sip_proxy", m_freeSwitchRealm);
|
||||
m_freeSwitchAttemptUseSTUN = m_config.GetBoolean("freeswitch_attempt_stun", true);
|
||||
m_freeSwitchSTUNServer = m_config.GetString("freeswitch_stun_server", m_freeSwitchRealm);
|
||||
// m_freeSwitchSTUNServer = m_config.GetString("freeswitch_stun_server", m_freeSwitchRealm);
|
||||
m_freeSwitchEchoServer = m_config.GetString("freeswitch_echo_server", m_freeSwitchRealm);
|
||||
m_freeSwitchEchoPort = m_config.GetInt("freeswitch_echo_port", 50505);
|
||||
m_freeSwitchDefaultWellKnownIP = m_config.GetString("freeswitch_well_known_ip", m_freeSwitchRealm);
|
||||
|
|
|
@ -43,11 +43,11 @@ namespace OpenSim.Tests.Common.Mock
|
|||
}
|
||||
private IUserDataPlugin m_userDataPlugin;
|
||||
|
||||
public IInventoryDataPlugin InventoryDataPlugin
|
||||
{
|
||||
get { return m_inventoryDataPlugin; }
|
||||
}
|
||||
private IInventoryDataPlugin m_inventoryDataPlugin;
|
||||
// public IInventoryDataPlugin InventoryDataPlugin
|
||||
// {
|
||||
// get { return m_inventoryDataPlugin; }
|
||||
// }
|
||||
// private IInventoryDataPlugin m_inventoryDataPlugin;
|
||||
|
||||
public TestCommunicationsManager()
|
||||
: this(null)
|
||||
|
|
|
@ -163,7 +163,7 @@ namespace OpenSim.Tests.Common.Setup
|
|||
godsModule.Initialise(testScene, new IniConfigSource());
|
||||
testScene.AddModule(godsModule.Name, godsModule);
|
||||
realServices = realServices.ToLower();
|
||||
IConfigSource config = new IniConfigSource();
|
||||
// IConfigSource config = new IniConfigSource();
|
||||
|
||||
// If we have a brand new scene, need to initialize shared region modules
|
||||
if ((m_assetService == null && m_inventoryService == null) || newScene)
|
||||
|
|
Loading…
Reference in New Issue