diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs index 68cfd3e..31f007f 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs | |||
@@ -561,6 +561,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog | |||
561 | return _repeat; | 561 | return _repeat; |
562 | } | 562 | } |
563 | 563 | ||
564 | // disable warning on l1, don't see how we can | ||
565 | // code this differently | ||
566 | #pragma warning disable 0168 | ||
564 | public static IEnumerable<bool> univ(object Term, object List) | 567 | public static IEnumerable<bool> univ(object Term, object List) |
565 | { | 568 | { |
566 | Term = YP.getValue(Term); | 569 | Term = YP.getValue(Term); |
@@ -1414,7 +1417,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog | |||
1414 | /// <returns></returns> | 1417 | /// <returns></returns> |
1415 | public static void script_event(object script_event, object script_params) | 1418 | public static void script_event(object script_event, object script_params) |
1416 | { | 1419 | { |
1417 | string function = ((Atom)YP.getValue(script_event))._name; | 1420 | // string function = ((Atom)YP.getValue(script_event))._name; |
1418 | object[] array = ListPair.toArray(script_params); | 1421 | object[] array = ListPair.toArray(script_params); |
1419 | if (array == null) | 1422 | if (array == null) |
1420 | return; // YP.fail(); | 1423 | return; // YP.fail(); |
@@ -1640,5 +1643,6 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog | |||
1640 | throw new NotImplementedException(); | 1643 | throw new NotImplementedException(); |
1641 | } | 1644 | } |
1642 | } | 1645 | } |
1646 | #pragma warning restore 0168 | ||
1643 | } | 1647 | } |
1644 | } | 1648 | } |