diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/Functor1.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/Functor1.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/Functor1.cs index 114e338..e023984 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/Functor1.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/Functor1.cs | |||
@@ -49,6 +49,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog | |||
49 | { | 49 | { |
50 | } | 50 | } |
51 | 51 | ||
52 | // disable warning on l1, don't see how we can | ||
53 | // code this differently | ||
54 | #pragma warning disable 0168 | ||
52 | public IEnumerable<bool> unify(object arg) | 55 | public IEnumerable<bool> unify(object arg) |
53 | { | 56 | { |
54 | arg = YP.getValue(arg); | 57 | arg = YP.getValue(arg); |
@@ -67,6 +70,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog | |||
67 | yield return false; | 70 | yield return false; |
68 | } | 71 | } |
69 | } | 72 | } |
73 | #pragma warning restore 0168 | ||
74 | |||
70 | 75 | ||
71 | public override string ToString() | 76 | public override string ToString() |
72 | { | 77 | { |