* Removed 19 warnings

0.6.0-stable
Teravus Ovares 2008-05-14 04:06:33 +00:00
parent 9e1cc72c6e
commit 8fd0378ae6
6 changed files with 7 additions and 7 deletions

View File

@ -252,7 +252,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
if ((m_irc.Enabled) && (m_irc.Connected))
{
string clientName = client.FirstName + " " + client.LastName;
string clientName = client.Name;
// handles simple case. May not work for hundred connecting in per second.
// and the NewClients calles getting interleved
// but filters out multiple reports

View File

@ -139,7 +139,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups
m_grouplistmap.Add(client.AgentId, testGroupList);
}
}
m_log.Info("[GROUP]: Adding " + client.FirstName + " " + client.LastName + " to OpenSimulator Tester group");
m_log.Info("[GROUP]: Adding " + client.Name + " to OpenSimulator Tester group");
}
private void OnAgentDataUpdateRequest(IClientAPI remoteClient, LLUUID AgentID, LLUUID SessionID)
@ -210,7 +210,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups
IClientAPI cli = m_iclientmap[agentID];
if (cli != null)
{
m_log.Info("[GROUP]: Removing all reference to groups for " + cli.FirstName + " " + cli.LastName);
m_log.Info("[GROUP]: Removing all reference to groups for " + cli.Name);
}
else
{

View File

@ -326,7 +326,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.WorldComm
{
DeliverMessage(e.Type,
e.Channel,
e.Sender.FirstName + " " + e.Sender.LastName,
e.Sender.Name,
e.Sender.AgentId,
e.Message);
}

View File

@ -787,7 +787,7 @@ namespace OpenSim.Region.Environment.Scenes
{
if (!presence.IsChildAgent)
{
string name = presence.ControllingClient.FirstName + " " + presence.ControllingClient.LastName;
string name = presence.ControllingClient.Name;
if (String.Compare(avatarName, name, true) == 0)
{

View File

@ -6170,7 +6170,7 @@ namespace OpenSim.Region.ScriptEngine.Common
{
ScenePresence av = World.GetScenePresence(key);
if (av != null);
if (av != null)
{
foreach (object o in args.Data)
{

View File

@ -331,7 +331,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
m_host.AbsolutePosition,
m_host.Name, m_host.UUID);
}
catch (Exception f)
catch (Exception)
{
//}
//else