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