Add explicit initialization because mono 3 doesn't like what mono 2 allows

0.8.2-post-fixes
Melanie 2015-08-19 23:18:40 +02:00
parent 662b59af83
commit 7633ebf36f
2 changed files with 2 additions and 2 deletions

View File

@ -8002,7 +8002,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
protected void SetEntityParams(List<ISceneEntity> entities, LSL_List rules, string originFunc)
{
LSL_List remaining;
LSL_List remaining = new LSL_List();
uint rulesParsed = 0;
foreach (ISceneEntity entity in entities)

View File

@ -2473,7 +2473,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// on the ILSL_Api interface.
LSL_Api LSL_Api = (LSL_Api)m_LSL_Api;
LSL_List retVal = new LSL_List();
LSL_List remaining;
LSL_List remaining = new LSL_List();
List<SceneObjectPart> parts = LSL_Api.GetLinkParts(linknumber);
foreach (SceneObjectPart part in parts)
{