From cd5f8cf9ec10483331bbf3cc6795cd8937a19f64 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 30 Aug 2008 22:02:04 +0000 Subject: * Pragma out deprecation warning and comment out to remove other warnings in the OGP module * Thanks to Teravus for the heads up on this. --- .../Environment/Modules/InterGrid/OpenGridProtocolModule.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs index 0c15637..90b7bcf 100644 --- a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs +++ b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs @@ -123,8 +123,10 @@ namespace OpenSim.Region.Environment.Modules.InterGrid { try { +#pragma warning disable 0612 // Mono does not implement the ServicePointManager.ServerCertificateValidationCallback yet! Don't remove this! ServicePointManager.CertificatePolicy = new MonoCert(); +#pragma warning restore 0612 } catch (Exception) { @@ -389,7 +391,7 @@ namespace OpenSim.Region.Environment.Modules.InterGrid Parameter = (LLSDArray)((LLSD)requestMap["parameter"]); } - int version = 1; + //int version = 1; int estateID = 1; int parentEstateID = 1; LLUUID regionID = LLUUID.Zero; @@ -398,10 +400,10 @@ namespace OpenSim.Region.Environment.Modules.InterGrid for (int i = 0; i < Parameter.Count; i++) { LLSDMap item = (LLSDMap)Parameter[i]; - if (item.ContainsKey("version")) - { - version = item["version"].AsInteger(); - } +// if (item.ContainsKey("version")) +// { +// version = item["version"].AsInteger(); +// } if (item.ContainsKey("estate_id")) { estateID = item["estate_id"].AsInteger(); -- cgit v1.1