minor: remove mono compiler warnings from OpenSim/Services/Connectors/SimianGrid

0.7.6-extended
Justin Clark-Casey (justincc) 2013-08-17 01:06:48 +01:00
parent d38d5ecbac
commit f5dbfe99b1
2 changed files with 2 additions and 9 deletions

View File

@ -56,11 +56,8 @@ namespace OpenSim.Services.Connectors.SimianGrid
private Scene m_scene; private Scene m_scene;
private String m_simianURL; private String m_simianURL;
private IGridUserService m_GridUserService;
#region IRegionModule Members #region IRegionModule Members
public string Name public string Name
{ {
get { return this.GetType().Name; } get { return this.GetType().Name; }

View File

@ -29,11 +29,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.Specialized; using System.Collections.Specialized;
using System.Reflection; using System.Reflection;
using log4net; using log4net;
using Mono.Addins; using Mono.Addins;
using Nini.Config; using Nini.Config;
using OpenSim.Framework; using OpenSim.Framework;
using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Interfaces;
using OpenSim.Region.Framework.Scenes; using OpenSim.Region.Framework.Scenes;
@ -52,7 +50,6 @@ namespace OpenSim.Services.Connectors.SimianGrid
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
private IConfig m_config = null; private IConfig m_config = null;
private bool m_enabled = true;
private String m_simianURL; private String m_simianURL;
@ -63,7 +60,6 @@ namespace OpenSim.Services.Connectors.SimianGrid
get { return this.GetType().Name; } get { return this.GetType().Name; }
} }
public void Initialise(IConfigSource config) public void Initialise(IConfigSource config)
{ {
try try
@ -76,7 +72,6 @@ namespace OpenSim.Services.Connectors.SimianGrid
if (String.IsNullOrEmpty(m_simianURL)) if (String.IsNullOrEmpty(m_simianURL))
{ {
// m_log.DebugFormat("[SimianGrid] service URL is not defined"); // m_log.DebugFormat("[SimianGrid] service URL is not defined");
m_enabled = false;
return; return;
} }
@ -141,6 +136,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
} }
#endregion #endregion
public static String SimulatorCapability = UUID.Zero.ToString(); public static String SimulatorCapability = UUID.Zero.ToString();
public static OSDMap PostToService(string url, NameValueCollection data) public static OSDMap PostToService(string url, NameValueCollection data)
{ {