From 924026d01c1dd25218e9a4296eb27640091405f3 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Sun, 18 Nov 2007 15:14:37 +0000 Subject: cleaned up some mono compiler warnings --- OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs | 2 +- OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Examples') diff --git a/OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs b/OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs index 7b1420b..b3084a2 100644 --- a/OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs +++ b/OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs @@ -39,7 +39,7 @@ namespace SimpleApp public FileSystemObject(Scene world, FileInfo fileInfo, LLVector3 pos) : base(world, world.RegionInfo.RegionHandle, LLUUID.Zero, world.NextLocalId, pos, BoxShape.Default) { - float size = (float) Math.Pow((double) fileInfo.Length, (double) 1/3)/5; + //float size = (float) Math.Pow((double) fileInfo.Length, (double) 1/3)/5; // rootPrimitive.ResizeGoup(new LLVector3(size, size, size)); Text = fileInfo.Name; ScheduleGroupForFullUpdate(); diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index 8cfbf27..b501baf 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs @@ -56,8 +56,8 @@ namespace SimpleApp for (int i = 0; i < 65536; i++) { - int x = i%256; - int y = i/256; + //int x = i%256; + //int y = i/256; map[i] = 25f; } -- cgit v1.1