From 051096e8ae6d6eb262f1e5398ab1521db05bae2e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 9 Mar 2009 19:58:39 +0000 Subject: * minor: remove some mono compiler warnings --- OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 17 ++++++++--------- OpenSim/Framework/Communications/LoginService.cs | 10 +++++----- .../Communications/Tests/Cache/AssetCacheTests.cs | 4 ++-- OpenSim/Region/Framework/Scenes/BinBVHAnimation.cs | 2 +- 4 files changed, 16 insertions(+), 17 deletions(-) diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index 5d08eb0..6b8c09f 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs @@ -496,21 +496,20 @@ namespace OpenSim.Client.MXP.ClientStack return new Vector3(vector.X, vector.Y, vector.Z); } - - private Vector3 FromOmVector(float[] vector) - { - return new Vector3(vector[0], vector[1], vector[2]); - } +// private Vector3 FromOmVector(float[] vector) +// { +// return new Vector3(vector[0], vector[1], vector[2]); +// } private Quaternion FromOmQuaternion(MsdQuaternion4f quaternion) { return new Quaternion(quaternion.X, quaternion.Y, quaternion.Z, quaternion.W); } - private Quaternion FromOmQuaternion(float[] quaternion) - { - return new Quaternion(quaternion[0], quaternion[1], quaternion[2], quaternion[3]); - } +// private Quaternion FromOmQuaternion(float[] quaternion) +// { +// return new Quaternion(quaternion[0], quaternion[1], quaternion[2], quaternion[3]); +// } private MsdColor4f ToOmColor(byte[] value) { diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index 1c72b79..e8e0559 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs @@ -579,11 +579,11 @@ namespace OpenSim.Framework.Communications UUID webloginkey = UUID.Random(); m_userManager.StoreWebLoginKey(user.ID, webloginkey); //statuscode = 301; - - string redirectURL = "about:blank?redirect-http-hack=" + - HttpUtility.UrlEncode("secondlife:///app/login?first_name=" + firstname + "&last_name=" + - lastname + - "&location=" + location + "&grid=Other&web_login_key=" + webloginkey.ToString()); + +// string redirectURL = "about:blank?redirect-http-hack=" + +// HttpUtility.UrlEncode("secondlife:///app/login?first_name=" + firstname + "&last_name=" + +// lastname + +// "&location=" + location + "&grid=Other&web_login_key=" + webloginkey.ToString()); //m_log.Info("[WEB]: R:" + redirectURL); returnactions["int_response_code"] = statuscode; //returnactions["str_redirect_location"] = redirectURL; diff --git a/OpenSim/Framework/Communications/Tests/Cache/AssetCacheTests.cs b/OpenSim/Framework/Communications/Tests/Cache/AssetCacheTests.cs index 34193b5..18ae9a7 100644 --- a/OpenSim/Framework/Communications/Tests/Cache/AssetCacheTests.cs +++ b/OpenSim/Framework/Communications/Tests/Cache/AssetCacheTests.cs @@ -43,11 +43,11 @@ namespace OpenSim.Framework.Communications.Tests { protected UUID m_assetIdReceived; protected AssetBase m_assetReceived; - - [Test] + /// /// Test the 'asynchronous' get asset mechanism (though this won't be done asynchronously within this test) /// + [Test] public void TestGetAsset() { UUID assetId = UUID.Parse("00000000-0000-0000-0000-000000000001"); diff --git a/OpenSim/Region/Framework/Scenes/BinBVHAnimation.cs b/OpenSim/Region/Framework/Scenes/BinBVHAnimation.cs index 54f6d68..a684461 100644 --- a/OpenSim/Region/Framework/Scenes/BinBVHAnimation.cs +++ b/OpenSim/Region/Framework/Scenes/BinBVHAnimation.cs @@ -519,7 +519,7 @@ namespace OpenSim.Region.Framework.Scenes //m_parentGroup.GetTimeDilation() * (float)ushort.MaxValue //0-1 - float difference = upper - lower; +// float difference = upper - lower; // we're trying to get a zero lower and modify all values equally so we get a percentage position if (lower > 0) { -- cgit v1.1