Eliminated several warnings
parent
149cb8dcbc
commit
14b4d8bad7
|
@ -128,7 +128,9 @@ namespace OpenSim.Capabilities.Handlers
|
|||
if (invcollSet == null)
|
||||
{
|
||||
m_log.DebugFormat("[WEB FETCH INV DESC HANDLER]: Multiple folder fetch failed. Trying old protocol.");
|
||||
#pragma warning disable 0612
|
||||
return FetchInventoryDescendentsRequest(foldersrequested, httpRequest, httpResponse);
|
||||
#pragma warning restore 0612
|
||||
}
|
||||
|
||||
string inventoryitemstr = string.Empty;
|
||||
|
@ -199,10 +201,11 @@ namespace OpenSim.Capabilities.Handlers
|
|||
int version = 0;
|
||||
int descendents = 0;
|
||||
|
||||
inv
|
||||
= Fetch(
|
||||
#pragma warning disable 0612
|
||||
inv = Fetch(
|
||||
invFetch.owner_id, invFetch.folder_id, invFetch.owner_id,
|
||||
invFetch.fetch_folders, invFetch.fetch_items, invFetch.sort_order, out version, out descendents);
|
||||
#pragma warning restore 0612
|
||||
|
||||
if (inv != null && inv.Folders != null)
|
||||
{
|
||||
|
|
|
@ -139,10 +139,12 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
|
|||
return false;
|
||||
|
||||
// Check for policy and execute it if defined
|
||||
#pragma warning disable 0618
|
||||
if (ServicePointManager.CertificatePolicy != null)
|
||||
{
|
||||
return ServicePointManager.CertificatePolicy.CheckValidationResult (sp, certificate, Request, 0);
|
||||
}
|
||||
#pragma warning restore 0618
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -96,8 +96,10 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest.Tests
|
|||
{
|
||||
public string Response { get; set; }
|
||||
|
||||
#pragma warning disable 0618
|
||||
public TestHttpWebResponse(SerializationInfo serializationInfo, StreamingContext streamingContext)
|
||||
: base(serializationInfo, streamingContext) {}
|
||||
#pragma warning restore 0618
|
||||
|
||||
public override Stream GetResponseStream()
|
||||
{
|
||||
|
|
|
@ -180,6 +180,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
|||
/// * Internet
|
||||
/// * Everything
|
||||
/// </remarks>
|
||||
#pragma warning disable 0618
|
||||
public static AppDomain CreateRestrictedDomain(string permissionSetName, string appDomainName)
|
||||
{
|
||||
if (permissionSetName == null)
|
||||
|
@ -240,6 +241,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
|||
|
||||
return restrictedDomain;
|
||||
}
|
||||
#pragma warning restore 0618
|
||||
|
||||
|
||||
void EventManager_OnRezScript(uint localID, UUID itemID, string script, int startParam, bool postOnRez, string engine, int stateSource)
|
||||
|
|
|
@ -50,7 +50,6 @@ public class HullCreation : OpenSimTestCase
|
|||
|
||||
BSScene PhysicsScene { get; set; }
|
||||
Vector3 ObjectInitPosition;
|
||||
float simulationTimeStep = 0.089f;
|
||||
|
||||
[TestFixtureSetUp]
|
||||
public void Init()
|
||||
|
|
|
@ -44,7 +44,9 @@ namespace OpenSim.Server.Handlers.Hypergrid
|
|||
public HeloServiceInConnector(IConfigSource config, IHttpServer server, string configName) :
|
||||
base(config, server, configName)
|
||||
{
|
||||
#pragma warning disable 0612
|
||||
server.AddStreamHandler(new HeloServerGetHandler("opensim-robust"));
|
||||
#pragma warning restore 0612
|
||||
server.AddStreamHandler(new HeloServerHeadHandler("opensim-robust"));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -99,8 +99,10 @@ namespace OpenSim.Server.Handlers.Hypergrid
|
|||
server.AddXmlRPCHandler("verify_client", VerifyClient, false);
|
||||
server.AddXmlRPCHandler("logout_agent", LogoutAgent, false);
|
||||
|
||||
#pragma warning disable 0612
|
||||
server.AddXmlRPCHandler("status_notification", StatusNotification, false);
|
||||
server.AddXmlRPCHandler("get_online_friends", GetOnlineFriends, false);
|
||||
#pragma warning restore 0612
|
||||
server.AddXmlRPCHandler("get_user_info", GetUserInfo, false);
|
||||
server.AddXmlRPCHandler("get_server_urls", GetServerURLs, false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue