mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 19:55:35 +08:00
Fix some warnings under mono.
This commit is contained in:
@@ -2372,7 +2372,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
|
||||
public void llSetParcelMusicURL(string url)
|
||||
{
|
||||
LLUUID landowner = World.GetLandOwner(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y);
|
||||
if (landowner == null)
|
||||
if (landowner.Equals(null))
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -2779,7 +2779,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
|
||||
LLUUID reqID = httpScriptMod.
|
||||
StartHttpRequest(m_localID, m_itemID, url, param, body);
|
||||
|
||||
if (reqID != null)
|
||||
if (!reqID.Equals(null))
|
||||
return reqID.ToString();
|
||||
else
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user