mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Remove the null checks altogether
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user