aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs
index 6c981bb..537c114 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/YieldProlog/YP.cs
@@ -673,8 +673,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog
673 object[] args = new object[(int)Arity]; 673 object[] args = new object[(int)Arity];
674 for (int i = 0; i < args.Length; ++i) 674 for (int i = 0; i < args.Length; ++i)
675 args[i] = new Variable(); 675 args[i] = new Variable();
676 #pragma warning disable 0219
676 foreach (bool l1 in YP.unify(Term, Functor.make((Atom)FunctorName, args))) 677 foreach (bool l1 in YP.unify(Term, Functor.make((Atom)FunctorName, args)))
677 yield return false; 678 yield return false;
679 #pragma warning restore 0219
678 } 680 }
679 } 681 }
680 else 682 else
@@ -2399,11 +2401,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog
2399 if (_Head == null || _Body == null) 2401 if (_Head == null || _Body == null)
2400 yield break; 2402 yield break;
2401 2403
2404 #pragma warning disable 0168
2402 foreach (bool l1 in YP.unify(Head, _Head)) 2405 foreach (bool l1 in YP.unify(Head, _Head))
2403 { 2406 {
2404 foreach (bool l2 in YP.unify(Body, _Body)) 2407 foreach (bool l2 in YP.unify(Body, _Body))
2405 yield return false; 2408 yield return false;
2406 } 2409 }
2410 #pragma warning restore 0168
2407 } 2411 }
2408 } 2412 }
2409 } 2413 }