Remove some mono compiler warnings from OpenSim/Server/Handlers
parent
f5dbfe99b1
commit
b3052c425e
|
@ -85,7 +85,7 @@ namespace OpenSim.Server.Handlers.Hypergrid
|
|||
data.destinationServerURI = args["destination_serveruri"];
|
||||
|
||||
}
|
||||
catch (InvalidCastException e)
|
||||
catch (InvalidCastException)
|
||||
{
|
||||
m_log.ErrorFormat("[HOME AGENT HANDLER]: Bad cast in UnpackData");
|
||||
}
|
||||
|
|
|
@ -453,7 +453,6 @@ namespace OpenSim.Server.Handlers.Hypergrid
|
|||
XmlRpcResponse response = new XmlRpcResponse();
|
||||
response.Value = hash;
|
||||
return response;
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -471,9 +470,7 @@ namespace OpenSim.Server.Handlers.Hypergrid
|
|||
//string portstr = (string)requestData["port"];
|
||||
if (requestData.ContainsKey("first") && requestData.ContainsKey("last"))
|
||||
{
|
||||
UUID userID = UUID.Zero;
|
||||
string first = (string)requestData["first"];
|
||||
|
||||
string last = (string)requestData["last"];
|
||||
UUID uuid = m_HomeUsersService.GetUUID(first, last);
|
||||
hash["UUID"] = uuid.ToString();
|
||||
|
@ -482,7 +479,6 @@ namespace OpenSim.Server.Handlers.Hypergrid
|
|||
XmlRpcResponse response = new XmlRpcResponse();
|
||||
response.Value = hash;
|
||||
return response;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -39,8 +39,7 @@ namespace OpenSim.Server.Handlers.Profiles
|
|||
{
|
||||
public class UserProfilesConnector: ServiceConnector
|
||||
{
|
||||
static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
// static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
// Our Local Module
|
||||
public IUserProfilesService ServiceModule
|
||||
|
@ -111,4 +110,3 @@ namespace OpenSim.Server.Handlers.Profiles
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue