* Fixing compiler warnings in an attempt to reduce them back down to zero.

afrisby
Adam Frisby 2007-07-13 07:17:42 +00:00
parent 486632986c
commit 0f1b2f278b
4 changed files with 38 additions and 4 deletions

View File

@ -29,6 +29,8 @@ using libsecondlife;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
using System.Collections.Generic;
namespace OpenSim.Framework
{
public class RegionCommsListener :IRegionCommsListener
@ -64,5 +66,38 @@ namespace OpenSim.Framework
}
return false;
}
/// <summary>
///
/// </summary>
/// <remarks>TODO: Doesnt take any args??</remarks>
/// <returns></returns>
public virtual bool TriggerExpectChildAgent()
{
if (OnExpectChildAgent != null)
{
OnExpectChildAgent();
return true;
}
return false;
}
/// <summary>
///
/// </summary>
/// <remarks>Added to avoid a unused compiler warning on OnNeighboursUpdate, TODO: Check me</remarks>
/// <param name="neighbours"></param>
/// <returns></returns>
public virtual bool TriggerOnNeighboursUpdate(List<RegionInfo> neighbours)
{
if (OnNeighboursUpdate != null)
{
OnNeighboursUpdate(neighbours);
return true;
}
return false;
}
}
}

View File

@ -110,7 +110,7 @@ namespace OpenSim.Region.Environment.Scenes
///
/// </summary>
/// <returns>A complete copy of the object</returns>
public SceneObject Copy()
public new SceneObject Copy()
{
SceneObject dupe = new SceneObject();

View File

@ -43,7 +43,6 @@ namespace OpenSim.Scripting.EmbeddedJVM
private List<Thread> _threads = new List<Thread>();
private BlockingQueue<CompileInfo> CompileScripts = new BlockingQueue<CompileInfo>();
private MainMemory _mainMemory;
private System.Threading.Thread compileThread;
ScriptInfo scriptInfo;

View File

@ -56,5 +56,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyFileVersion("1.0.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]