mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
* minor: remove some mono compiler warnings
This commit is contained in:
@@ -44,7 +44,7 @@ namespace OpenSim.Grid.InventoryServer
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private GridInventoryService m_inventoryService;
|
||||
private HGInventoryService m_directInventoryService;
|
||||
//private HGInventoryService m_directInventoryService;
|
||||
|
||||
public const string LogName = "INVENTORY";
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace OpenSim.Grid.InventoryServer
|
||||
|
||||
m_log.Info("[" + LogName + "]: Started HTTP server");
|
||||
|
||||
m_directInventoryService = new HGInventoryService(m_inventoryService, config.AssetServerURL, config.UserServerURL, m_httpServer, config.InventoryServerURL);
|
||||
//m_directInventoryService = new HGInventoryService(m_inventoryService, config.AssetServerURL, config.UserServerURL, m_httpServer, config.InventoryServerURL);
|
||||
|
||||
base.StartupSpecific();
|
||||
|
||||
|
||||
@@ -654,7 +654,7 @@ namespace OpenSim.Region.CoreModules.Communications.REST
|
||||
if (args["itemid"] != null)
|
||||
itemID = args["itemid"].AsUUID();
|
||||
|
||||
UUID regionID = m_localBackend.GetRegionID(regionhandle);
|
||||
//UUID regionID = m_localBackend.GetRegionID(regionhandle);
|
||||
|
||||
// This is the meaning of PUT object
|
||||
bool result = m_localBackend.SendCreateObject(regionhandle, userID, itemID);
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace OpenSim.Region.CoreModules
|
||||
{
|
||||
public class CloudModule : ICloudModule
|
||||
{
|
||||
private static readonly log4net.ILog m_log
|
||||
= log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
// private static readonly log4net.ILog m_log
|
||||
// = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private Random m_rndnums = new Random(Environment.TickCount);
|
||||
private Scene m_scene = null;
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace OpenSim.Region.CoreModules
|
||||
private uint m_frame = 0;
|
||||
private uint m_frameLastUpdateClientArray = 0;
|
||||
private int m_frameUpdateRate = 150;
|
||||
private Random m_rndnums = new Random(Environment.TickCount);
|
||||
//private Random m_rndnums = new Random(Environment.TickCount);
|
||||
private Scene m_scene = null;
|
||||
private bool m_ready = false;
|
||||
|
||||
|
||||
@@ -1744,8 +1744,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
if (sp != null)
|
||||
{
|
||||
uint attPt = (uint)sp.Appearance.GetAttachpoint(itemID);
|
||||
SceneObjectGroup sog = m_sceneGraph.RezSingleAttachment(sp.ControllingClient, itemID, attPt);
|
||||
m_sceneGraph.RezSingleAttachment(sp.ControllingClient, itemID, attPt);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -91,18 +91,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
{
|
||||
return m_OSSL_Functions.osWindActiveModelPluginName();
|
||||
}
|
||||
|
||||
void osWindParamSet(string plugin, string param, float value)
|
||||
{
|
||||
m_OSSL_Functions.osWindParamSet(plugin, param, value);
|
||||
}
|
||||
|
||||
float osWindParamGet(string plugin, string param)
|
||||
{
|
||||
return m_OSSL_Functions.osWindParamGet(plugin, param);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Not yet plugged in as available OSSL functions, so commented out
|
||||
// void osWindParamSet(string plugin, string param, float value)
|
||||
// {
|
||||
// m_OSSL_Functions.osWindParamSet(plugin, param, value);
|
||||
// }
|
||||
//
|
||||
// float osWindParamGet(string plugin, string param)
|
||||
// {
|
||||
// return m_OSSL_Functions.osWindParamGet(plugin, param);
|
||||
// }
|
||||
|
||||
public double osList2Double(LSL_Types.list src, int index)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user