From 2c0edcc1992384496e4e977391700a6bd4d652c5 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Wed, 16 May 2007 21:19:07 +0000 Subject: [PATCH] Cleaning up warnings --- .../GridServerManager.cs | 2 +- OpenGridServices.AssetServer/Main.cs | 1 - OpenSim.Physics/OdePlugin/OdePlugin.cs | 2 +- ServiceManager/ServiceManager.csproj | 33 +++++++++++-------- 4 files changed, 22 insertions(+), 16 deletions(-) diff --git a/OpenGrid.Framework.Manager/GridServerManager.cs b/OpenGrid.Framework.Manager/GridServerManager.cs index 16ea6e8ac1..c536e33176 100644 --- a/OpenGrid.Framework.Manager/GridServerManager.cs +++ b/OpenGrid.Framework.Manager/GridServerManager.cs @@ -19,7 +19,7 @@ namespace OpenGrid.Framework.Manager { Hashtable requestData = (Hashtable)request.Params[0]; Hashtable responseData = new Hashtable(); - if(requestData["authkey"]!=recvkey) { + if((string)requestData["authkey"] != recvkey) { responseData["error"]="INVALID KEY"; } else { responseData["msg"]="Shutdown command accepted"; diff --git a/OpenGridServices.AssetServer/Main.cs b/OpenGridServices.AssetServer/Main.cs index ef9cc677af..684d683218 100644 --- a/OpenGridServices.AssetServer/Main.cs +++ b/OpenGridServices.AssetServer/Main.cs @@ -140,7 +140,6 @@ namespace OpenGridServices.AssetServer public byte[] getAssetData(LLUUID assetID, bool isTexture) { - byte[] idata = null; bool found = false; AssetStorage foundAsset = null; diff --git a/OpenSim.Physics/OdePlugin/OdePlugin.cs b/OpenSim.Physics/OdePlugin/OdePlugin.cs index 8ddfd5cf91..599dea8db5 100644 --- a/OpenSim.Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim.Physics/OdePlugin/OdePlugin.cs @@ -74,7 +74,7 @@ namespace OpenSim.Physics.OdePlugin static public IntPtr space; static private IntPtr contactgroup; static private IntPtr LandGeom; - static private IntPtr Land; + //static private IntPtr Land; private double[] _heightmap; static private d.NearCallback nearCallback = near; private List _characters = new List(); diff --git a/ServiceManager/ServiceManager.csproj b/ServiceManager/ServiceManager.csproj index f703ef1daa..ac118c3f1f 100644 --- a/ServiceManager/ServiceManager.csproj +++ b/ServiceManager/ServiceManager.csproj @@ -1,4 +1,4 @@ - + Local 8.0.50727 @@ -6,7 +6,8 @@ {E141F4EE-0000-0000-0000-000000000000} Debug AnyCPU - + + ServiceManager @@ -15,9 +16,11 @@ IE50 false Exe - + + ServiceManager - + + @@ -28,7 +31,8 @@ TRACE;DEBUG - + + True 4096 False @@ -37,7 +41,8 @@ False False 4 - + + False @@ -46,7 +51,8 @@ TRACE - + + False 4096 True @@ -55,18 +61,19 @@ False False 4 - + + - + System.dll False - + System.ServiceProcess.dll False - + System.Xml.dll False @@ -75,7 +82,7 @@ - Code + Component @@ -85,4 +92,4 @@ - + \ No newline at end of file