Remove the null checks altogether

This commit is contained in:
Melanie Thielker
2010-07-20 00:55:31 +02:00
parent 54da64acac
commit 191bee2ed0
2 changed files with 5 additions and 20 deletions

View File

@@ -5027,14 +5027,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
m_host.AddScriptLPS(1);
if (src == null)
{
return 0;
}
else
{
return src.Length;
}
return src.Length;
}
public LSL_Integer llList2Integer(LSL_List src, int index)