diff options
author | Adam Frisby | 2007-05-16 21:19:07 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-16 21:19:07 +0000 |
commit | 2c0edcc1992384496e4e977391700a6bd4d652c5 (patch) | |
tree | d815e29081cd2c3750429d8327d51819a1d69f0e | |
parent | Committed a DOS Batch file for running prebuild for nant/visual studio automa... (diff) | |
download | opensim-SC-2c0edcc1992384496e4e977391700a6bd4d652c5.zip opensim-SC-2c0edcc1992384496e4e977391700a6bd4d652c5.tar.gz opensim-SC-2c0edcc1992384496e4e977391700a6bd4d652c5.tar.bz2 opensim-SC-2c0edcc1992384496e4e977391700a6bd4d652c5.tar.xz |
Cleaning up warnings
Diffstat (limited to '')
-rw-r--r-- | OpenGrid.Framework.Manager/GridServerManager.cs | 2 | ||||
-rw-r--r-- | OpenGridServices.AssetServer/Main.cs | 1 | ||||
-rw-r--r-- | OpenSim.Physics/OdePlugin/OdePlugin.cs | 2 | ||||
-rw-r--r-- | 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 16ea6e8..c536e33 100644 --- a/OpenGrid.Framework.Manager/GridServerManager.cs +++ b/OpenGrid.Framework.Manager/GridServerManager.cs | |||
@@ -19,7 +19,7 @@ namespace OpenGrid.Framework.Manager { | |||
19 | Hashtable requestData = (Hashtable)request.Params[0]; | 19 | Hashtable requestData = (Hashtable)request.Params[0]; |
20 | Hashtable responseData = new Hashtable(); | 20 | Hashtable responseData = new Hashtable(); |
21 | 21 | ||
22 | if(requestData["authkey"]!=recvkey) { | 22 | if((string)requestData["authkey"] != recvkey) { |
23 | responseData["error"]="INVALID KEY"; | 23 | responseData["error"]="INVALID KEY"; |
24 | } else { | 24 | } else { |
25 | responseData["msg"]="Shutdown command accepted"; | 25 | responseData["msg"]="Shutdown command accepted"; |
diff --git a/OpenGridServices.AssetServer/Main.cs b/OpenGridServices.AssetServer/Main.cs index ef9cc67..684d683 100644 --- a/OpenGridServices.AssetServer/Main.cs +++ b/OpenGridServices.AssetServer/Main.cs | |||
@@ -140,7 +140,6 @@ namespace OpenGridServices.AssetServer | |||
140 | 140 | ||
141 | public byte[] getAssetData(LLUUID assetID, bool isTexture) | 141 | public byte[] getAssetData(LLUUID assetID, bool isTexture) |
142 | { | 142 | { |
143 | byte[] idata = null; | ||
144 | bool found = false; | 143 | bool found = false; |
145 | AssetStorage foundAsset = null; | 144 | AssetStorage foundAsset = null; |
146 | 145 | ||
diff --git a/OpenSim.Physics/OdePlugin/OdePlugin.cs b/OpenSim.Physics/OdePlugin/OdePlugin.cs index 8ddfd5c..599dea8 100644 --- a/OpenSim.Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim.Physics/OdePlugin/OdePlugin.cs | |||
@@ -74,7 +74,7 @@ namespace OpenSim.Physics.OdePlugin | |||
74 | static public IntPtr space; | 74 | static public IntPtr space; |
75 | static private IntPtr contactgroup; | 75 | static private IntPtr contactgroup; |
76 | static private IntPtr LandGeom; | 76 | static private IntPtr LandGeom; |
77 | static private IntPtr Land; | 77 | //static private IntPtr Land; |
78 | private double[] _heightmap; | 78 | private double[] _heightmap; |
79 | static private d.NearCallback nearCallback = near; | 79 | static private d.NearCallback nearCallback = near; |
80 | private List<OdeCharacter> _characters = new List<OdeCharacter>(); | 80 | private List<OdeCharacter> _characters = new List<OdeCharacter>(); |
diff --git a/ServiceManager/ServiceManager.csproj b/ServiceManager/ServiceManager.csproj index f703ef1..ac118c3 100644 --- a/ServiceManager/ServiceManager.csproj +++ b/ServiceManager/ServiceManager.csproj | |||
@@ -1,4 +1,4 @@ | |||
1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
2 | <PropertyGroup> | 2 | <PropertyGroup> |
3 | <ProjectType>Local</ProjectType> | 3 | <ProjectType>Local</ProjectType> |
4 | <ProductVersion>8.0.50727</ProductVersion> | 4 | <ProductVersion>8.0.50727</ProductVersion> |
@@ -6,7 +6,8 @@ | |||
6 | <ProjectGuid>{E141F4EE-0000-0000-0000-000000000000}</ProjectGuid> | 6 | <ProjectGuid>{E141F4EE-0000-0000-0000-000000000000}</ProjectGuid> |
7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 7 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
9 | <ApplicationIcon></ApplicationIcon> | 9 | <ApplicationIcon> |
10 | </ApplicationIcon> | ||
10 | <AssemblyKeyContainerName> | 11 | <AssemblyKeyContainerName> |
11 | </AssemblyKeyContainerName> | 12 | </AssemblyKeyContainerName> |
12 | <AssemblyName>ServiceManager</AssemblyName> | 13 | <AssemblyName>ServiceManager</AssemblyName> |
@@ -15,9 +16,11 @@ | |||
15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 16 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
16 | <DelaySign>false</DelaySign> | 17 | <DelaySign>false</DelaySign> |
17 | <OutputType>Exe</OutputType> | 18 | <OutputType>Exe</OutputType> |
18 | <AppDesignerFolder></AppDesignerFolder> | 19 | <AppDesignerFolder> |
20 | </AppDesignerFolder> | ||
19 | <RootNamespace>ServiceManager</RootNamespace> | 21 | <RootNamespace>ServiceManager</RootNamespace> |
20 | <StartupObject></StartupObject> | 22 | <StartupObject> |
23 | </StartupObject> | ||
21 | <FileUpgradeFlags> | 24 | <FileUpgradeFlags> |
22 | </FileUpgradeFlags> | 25 | </FileUpgradeFlags> |
23 | </PropertyGroup> | 26 | </PropertyGroup> |
@@ -28,7 +31,8 @@ | |||
28 | <ConfigurationOverrideFile> | 31 | <ConfigurationOverrideFile> |
29 | </ConfigurationOverrideFile> | 32 | </ConfigurationOverrideFile> |
30 | <DefineConstants>TRACE;DEBUG</DefineConstants> | 33 | <DefineConstants>TRACE;DEBUG</DefineConstants> |
31 | <DocumentationFile></DocumentationFile> | 34 | <DocumentationFile> |
35 | </DocumentationFile> | ||
32 | <DebugSymbols>True</DebugSymbols> | 36 | <DebugSymbols>True</DebugSymbols> |
33 | <FileAlignment>4096</FileAlignment> | 37 | <FileAlignment>4096</FileAlignment> |
34 | <Optimize>False</Optimize> | 38 | <Optimize>False</Optimize> |
@@ -37,7 +41,8 @@ | |||
37 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 41 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
38 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 42 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
39 | <WarningLevel>4</WarningLevel> | 43 | <WarningLevel>4</WarningLevel> |
40 | <NoWarn></NoWarn> | 44 | <NoWarn> |
45 | </NoWarn> | ||
41 | </PropertyGroup> | 46 | </PropertyGroup> |
42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | 47 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
43 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> | 48 | <AllowUnsafeBlocks>False</AllowUnsafeBlocks> |
@@ -46,7 +51,8 @@ | |||
46 | <ConfigurationOverrideFile> | 51 | <ConfigurationOverrideFile> |
47 | </ConfigurationOverrideFile> | 52 | </ConfigurationOverrideFile> |
48 | <DefineConstants>TRACE</DefineConstants> | 53 | <DefineConstants>TRACE</DefineConstants> |
49 | <DocumentationFile></DocumentationFile> | 54 | <DocumentationFile> |
55 | </DocumentationFile> | ||
50 | <DebugSymbols>False</DebugSymbols> | 56 | <DebugSymbols>False</DebugSymbols> |
51 | <FileAlignment>4096</FileAlignment> | 57 | <FileAlignment>4096</FileAlignment> |
52 | <Optimize>True</Optimize> | 58 | <Optimize>True</Optimize> |
@@ -55,18 +61,19 @@ | |||
55 | <RemoveIntegerChecks>False</RemoveIntegerChecks> | 61 | <RemoveIntegerChecks>False</RemoveIntegerChecks> |
56 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> | 62 | <TreatWarningsAsErrors>False</TreatWarningsAsErrors> |
57 | <WarningLevel>4</WarningLevel> | 63 | <WarningLevel>4</WarningLevel> |
58 | <NoWarn></NoWarn> | 64 | <NoWarn> |
65 | </NoWarn> | ||
59 | </PropertyGroup> | 66 | </PropertyGroup> |
60 | <ItemGroup> | 67 | <ItemGroup> |
61 | <Reference Include="System" > | 68 | <Reference Include="System"> |
62 | <HintPath>System.dll</HintPath> | 69 | <HintPath>System.dll</HintPath> |
63 | <Private>False</Private> | 70 | <Private>False</Private> |
64 | </Reference> | 71 | </Reference> |
65 | <Reference Include="System.ServiceProcess" > | 72 | <Reference Include="System.ServiceProcess"> |
66 | <HintPath>System.ServiceProcess.dll</HintPath> | 73 | <HintPath>System.ServiceProcess.dll</HintPath> |
67 | <Private>False</Private> | 74 | <Private>False</Private> |
68 | </Reference> | 75 | </Reference> |
69 | <Reference Include="System.Xml" > | 76 | <Reference Include="System.Xml"> |
70 | <HintPath>System.Xml.dll</HintPath> | 77 | <HintPath>System.Xml.dll</HintPath> |
71 | <Private>False</Private> | 78 | <Private>False</Private> |
72 | </Reference> | 79 | </Reference> |
@@ -75,7 +82,7 @@ | |||
75 | </ItemGroup> | 82 | </ItemGroup> |
76 | <ItemGroup> | 83 | <ItemGroup> |
77 | <Compile Include="ServiceManager.cs"> | 84 | <Compile Include="ServiceManager.cs"> |
78 | <SubType>Code</SubType> | 85 | <SubType>Component</SubType> |
79 | </Compile> | 86 | </Compile> |
80 | </ItemGroup> | 87 | </ItemGroup> |
81 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | 88 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> |
@@ -85,4 +92,4 @@ | |||
85 | <PostBuildEvent> | 92 | <PostBuildEvent> |
86 | </PostBuildEvent> | 93 | </PostBuildEvent> |
87 | </PropertyGroup> | 94 | </PropertyGroup> |
88 | </Project> | 95 | </Project> \ No newline at end of file |