diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor3.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor3.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor3.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor3.cs index 6ef8327..907bfca 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor3.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor3.cs | |||
@@ -61,9 +61,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog | |||
61 | Functor3 argFunctor = (Functor3)arg; | 61 | Functor3 argFunctor = (Functor3)arg; |
62 | if (_name.Equals(argFunctor._name)) | 62 | if (_name.Equals(argFunctor._name)) |
63 | { | 63 | { |
64 | // disable warning on l1, l2, l3 don't see how we can | 64 | // disable warning: don't see how we can code this differently short |
65 | // code this differently | 65 | // of rewriting the whole thing |
66 | #pragma warning disable 0168 | 66 | #pragma warning disable 0168 |
67 | foreach (bool l1 in YP.unify(_arg1, argFunctor._arg1)) | 67 | foreach (bool l1 in YP.unify(_arg1, argFunctor._arg1)) |
68 | { | 68 | { |
69 | foreach (bool l2 in YP.unify(_arg2, argFunctor._arg2)) | 69 | foreach (bool l2 in YP.unify(_arg2, argFunctor._arg2)) |
@@ -72,17 +72,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog | |||
72 | yield return false; | 72 | yield return false; |
73 | } | 73 | } |
74 | } | 74 | } |
75 | #pragma warning restore 0168 | 75 | #pragma warning restore 0168 |
76 | } | 76 | } |
77 | } | 77 | } |
78 | else if (arg is Variable) | 78 | else if (arg is Variable) |
79 | { | 79 | { |
80 | // disable warning on l1, don't see how we can | 80 | // disable warning: don't see how we can code this differently short |
81 | // code this differently | 81 | // of rewriting the whole thing |
82 | #pragma warning disable 0168 | 82 | #pragma warning disable 0168 |
83 | foreach (bool l1 in ((Variable)arg).unify(this)) | 83 | foreach (bool l1 in ((Variable)arg).unify(this)) |
84 | yield return false; | 84 | yield return false; |
85 | #pragma warning restore 0168 | 85 | #pragma warning restore 0168 |
86 | } | 86 | } |
87 | } | 87 | } |
88 | 88 | ||