diff options
author | Adam Frisby | 2007-07-04 05:25:40 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-04 05:25:40 +0000 |
commit | daf7b8ec76bb333d4808e8cd4392a002042ac2d0 (patch) | |
tree | 23bbe29092f5e42d04bdb6a7babe939b26056120 /OpenSim/Region/Terrain.BasicTerrain/TerrainFilter.cs | |
parent | * Started work on converting BaseHttpServer to a stream dispatcher (diff) | |
download | opensim-SC_OLD-daf7b8ec76bb333d4808e8cd4392a002042ac2d0.zip opensim-SC_OLD-daf7b8ec76bb333d4808e8cd4392a002042ac2d0.tar.gz opensim-SC_OLD-daf7b8ec76bb333d4808e8cd4392a002042ac2d0.tar.bz2 opensim-SC_OLD-daf7b8ec76bb333d4808e8cd4392a002042ac2d0.tar.xz |
* Cleaning - attempting to get compiler warnings back down to zero.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainFilter.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainFilter.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainFilter.cs index feb9327..a38be07 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainFilter.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainFilter.cs | |||
@@ -63,7 +63,7 @@ namespace OpenSim.Region.Terrain | |||
63 | { | 63 | { |
64 | public Dictionary<string, ITerrainFilter> filters = new Dictionary<string, ITerrainFilter>(); | 64 | public Dictionary<string, ITerrainFilter> filters = new Dictionary<string, ITerrainFilter>(); |
65 | 65 | ||
66 | private void LoadFilter(ICodeCompiler compiler, string filename) | 66 | private void LoadFilter(CodeDomProvider compiler, string filename) |
67 | { | 67 | { |
68 | CompilerParameters compilerParams = new CompilerParameters(); | 68 | CompilerParameters compilerParams = new CompilerParameters(); |
69 | CompilerResults compilerResults; | 69 | CompilerResults compilerResults; |
@@ -114,13 +114,13 @@ namespace OpenSim.Region.Terrain | |||
114 | public void LoadFilterCSharp(string filename) | 114 | public void LoadFilterCSharp(string filename) |
115 | { | 115 | { |
116 | CSharpCodeProvider compiler = new CSharpCodeProvider(); | 116 | CSharpCodeProvider compiler = new CSharpCodeProvider(); |
117 | LoadFilter(compiler.CreateCompiler(), filename); | 117 | LoadFilter(compiler, filename); |
118 | } | 118 | } |
119 | 119 | ||
120 | public void LoadFilterJScript(string filename) | 120 | public void LoadFilterJScript(string filename) |
121 | { | 121 | { |
122 | JScriptCodeProvider compiler = new JScriptCodeProvider(); | 122 | JScriptCodeProvider compiler = new JScriptCodeProvider(); |
123 | LoadFilter(compiler.CreateCompiler(), filename); | 123 | LoadFilter(compiler, filename); |
124 | } | 124 | } |
125 | } | 125 | } |
126 | } | 126 | } |