diff options
author | Dr Scofield | 2008-06-30 11:57:47 +0000 |
---|---|---|
committer | Dr Scofield | 2008-06-30 11:57:47 +0000 |
commit | 313f7f60fda81c987e0ac4da4dc8c2f5def46b72 (patch) | |
tree | 71c30ab49c97a17d157c59877842d159f5eac3e1 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor2.cs | |
parent | disables spam-like debugging messages inadvertently left on in last commit (o... (diff) | |
download | opensim-SC-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.zip opensim-SC-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.tar.gz opensim-SC-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.tar.bz2 opensim-SC-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.tar.xz |
properly explaining each #pragma warning disable
massaging OSHttpRequestPump to not abort on exceptions...
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor2.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor2.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor2.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor2.cs index 7e4f27d..4ae325e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor2.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/Functor2.cs | |||
@@ -59,25 +59,25 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog | |||
59 | Functor2 argFunctor = (Functor2)arg; | 59 | Functor2 argFunctor = (Functor2)arg; |
60 | if (_name.Equals(argFunctor._name)) | 60 | if (_name.Equals(argFunctor._name)) |
61 | { | 61 | { |
62 | // disable warning on l1, don't see how we can | 62 | // disable warning: don't see how we can code this differently short |
63 | // code this differently | 63 | // of rewriting the whole thing |
64 | #pragma warning disable 0168 | 64 | #pragma warning disable 0168 |
65 | foreach (bool l1 in YP.unify(_arg1, argFunctor._arg1)) | 65 | foreach (bool l1 in YP.unify(_arg1, argFunctor._arg1)) |
66 | { | 66 | { |
67 | foreach (bool l2 in YP.unify(_arg2, argFunctor._arg2)) | 67 | foreach (bool l2 in YP.unify(_arg2, argFunctor._arg2)) |
68 | yield return false; | 68 | yield return false; |
69 | } | 69 | } |
70 | #pragma warning restore 0168 | 70 | #pragma warning restore 0168 |
71 | } | 71 | } |
72 | } | 72 | } |
73 | else if (arg is Variable) | 73 | else if (arg is Variable) |
74 | { | 74 | { |
75 | // disable warning on l1, don't see how we can | 75 | // disable warning: don't see how we can code this differently short |
76 | // code this differently | 76 | // of rewriting the whole thing |
77 | #pragma warning disable 0168 | 77 | #pragma warning disable 0168 |
78 | foreach (bool l1 in ((Variable)arg).unify(this)) | 78 | foreach (bool l1 in ((Variable)arg).unify(this)) |
79 | yield return false; | 79 | yield return false; |
80 | #pragma warning restore 0168 | 80 | #pragma warning restore 0168 |
81 | } | 81 | } |
82 | } | 82 | } |
83 | 83 | ||