* minor: remove mono compiler warnings

0.6.5-rc1
Justin Clarke Casey 2009-03-30 18:34:43 +00:00
parent ac8fc02afc
commit 176f263d23
2 changed files with 20 additions and 21 deletions

View File

@ -7202,7 +7202,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
i++; i++;
} }
OutPacket(groupRoleMembersReply, ThrottleOutPacketType.Task); OutPacket(groupRoleMembersReply, ThrottleOutPacketType.Task);
} }
break; break;
@ -7213,15 +7212,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (m_GroupsModule != null) if (m_GroupsModule != null)
{ {
UUID groupID = m_GroupsModule.CreateGroup(this, m_GroupsModule.CreateGroup(this,
Utils.BytesToString(createGroupRequest.GroupData.Name), Utils.BytesToString(createGroupRequest.GroupData.Name),
Utils.BytesToString(createGroupRequest.GroupData.Charter), Utils.BytesToString(createGroupRequest.GroupData.Charter),
createGroupRequest.GroupData.ShowInList, createGroupRequest.GroupData.ShowInList,
createGroupRequest.GroupData.InsigniaID, createGroupRequest.GroupData.InsigniaID,
createGroupRequest.GroupData.MembershipFee, createGroupRequest.GroupData.MembershipFee,
createGroupRequest.GroupData.OpenEnrollment, createGroupRequest.GroupData.OpenEnrollment,
createGroupRequest.GroupData.AllowPublish, createGroupRequest.GroupData.AllowPublish,
createGroupRequest.GroupData.MaturePublish); createGroupRequest.GroupData.MaturePublish);
} }
break; break;

View File

@ -110,17 +110,17 @@ namespace OpenSim.Region.CoreModules.Avatar.MuteList
public void Close() public void Close()
{ {
} }
private IClientAPI FindClient(UUID agentID) // private IClientAPI FindClient(UUID agentID)
{ // {
foreach (Scene s in m_SceneList) // foreach (Scene s in m_SceneList)
{ // {
ScenePresence presence = s.GetScenePresence(agentID); // ScenePresence presence = s.GetScenePresence(agentID);
if (presence != null && !presence.IsChildAgent) // if (presence != null && !presence.IsChildAgent)
return presence.ControllingClient; // return presence.ControllingClient;
} // }
return null; // return null;
} // }
private void OnNewClient(IClientAPI client) private void OnNewClient(IClientAPI client)
{ {