mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
* minor: remove some mono compiler warnings
This commit is contained in:
@@ -251,7 +251,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
|
||||
= scene.CommsManager.UserProfileCacheService.GetUserDetails(userFirstName, userLastName);
|
||||
InventoryItemBase foundItem = userInfo.RootFolder.FindItemByPath(itemName);
|
||||
|
||||
// Currently, creator and ownership both revert to the loader
|
||||
Assert.That(foundItem.CreatorId, Is.EqualTo(user2Uuid.ToString()));
|
||||
Assert.That(foundItem.Owner, Is.EqualTo(userUuid));
|
||||
|
||||
|
||||
@@ -39,8 +39,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
|
||||
{
|
||||
public class HGWorldMapModule : WorldMapModule
|
||||
{
|
||||
private static readonly ILog m_log =
|
||||
LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
//private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
#region INonSharedRegionModule Members
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
private static readonly ILog m_log =
|
||||
LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private const bool UseProxy = false;
|
||||
private bool UseProxy = false;
|
||||
|
||||
// Capability string prefixes
|
||||
private static readonly string m_parcelVoiceInfoRequestPath = "0007/";
|
||||
@@ -598,7 +598,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
|
||||
string auth_token = (string)requestBody["auth_token"];
|
||||
string[] auth_tokenvals = auth_token.Split(':');
|
||||
string username = auth_tokenvals[0];
|
||||
//string username = auth_tokenvals[0];
|
||||
int strcount = 0;
|
||||
|
||||
string[] ids = new string[strcount];
|
||||
@@ -667,7 +667,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
|
||||
Hashtable requestBody = parseRequestBody((string)request["body"]);
|
||||
|
||||
string pwd = (string) requestBody["pwd"];
|
||||
//string pwd = (string) requestBody["pwd"];
|
||||
string userid = (string) requestBody["userid"];
|
||||
|
||||
string avatarName = string.Empty;
|
||||
|
||||
@@ -228,7 +228,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||
public GroupRecord GetGroupRecord(UUID GroupID, string GroupName)
|
||||
{
|
||||
Hashtable param = new Hashtable();
|
||||
if ((GroupID != null) && (GroupID != UUID.Zero))
|
||||
if (GroupID != UUID.Zero)
|
||||
{
|
||||
param["GroupID"] = GroupID.ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user