aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain
diff options
context:
space:
mode:
authorJeff Ames2007-11-18 15:14:37 +0000
committerJeff Ames2007-11-18 15:14:37 +0000
commit924026d01c1dd25218e9a4296eb27640091405f3 (patch)
tree7d9e8fcb28b0ce6090cc42c4754d5673bb2853c2 /OpenSim/Region/Terrain.BasicTerrain
parentfirst stab at implementation of CopyInventoryItem (diff)
downloadopensim-SC_OLD-924026d01c1dd25218e9a4296eb27640091405f3.zip
opensim-SC_OLD-924026d01c1dd25218e9a4296eb27640091405f3.tar.gz
opensim-SC_OLD-924026d01c1dd25218e9a4296eb27640091405f3.tar.bz2
opensim-SC_OLD-924026d01c1dd25218e9a4296eb27640091405f3.tar.xz
cleaned up some mono compiler warnings
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Bitmap/Bitmap.cs4
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs1
2 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Bitmap/Bitmap.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Bitmap/Bitmap.cs
index 8b5fbed..c40229f 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Bitmap/Bitmap.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Bitmap/Bitmap.cs
@@ -33,8 +33,6 @@ namespace libTerrain
33{ 33{
34 internal class Raster 34 internal class Raster
35 { 35 {
36 private int w;
37 private int h;
38 private Bitmap bmp; 36 private Bitmap bmp;
39 37
40 /// <summary> 38 /// <summary>
@@ -44,8 +42,6 @@ namespace libTerrain
44 /// <param name="height">Height in pixels</param> 42 /// <param name="height">Height in pixels</param>
45 public Raster(int width, int height) 43 public Raster(int width, int height)
46 { 44 {
47 w = width;
48 h = height;
49 bmp = new Bitmap(width, height, PixelFormat.Format24bppRgb); 45 bmp = new Bitmap(width, height, PixelFormat.Format24bppRgb);
50 } 46 }
51 47
diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs
index 0159b87..825d175 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs
@@ -106,7 +106,6 @@ namespace libTerrain
106 { 106 {
107 SetDiff(); 107 SetDiff();
108 108
109 Random generator = new Random(seed);
110 int x, y, i; 109 int x, y, i;
111 double[] distances = new double[points.Count]; 110 double[] distances = new double[points.Count];
112 111