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/Functor3.cs | |
parent | disables spam-like debugging messages inadvertently left on in last commit (o... (diff) | |
download | opensim-SC_OLD-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.zip opensim-SC_OLD-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.tar.gz opensim-SC_OLD-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.tar.bz2 opensim-SC_OLD-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.tar.xz |
properly explaining each #pragma warning disable
massaging OSHttpRequestPump to not abort on exceptions...
Diffstat (limited to '')
-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 | ||