mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
properly explaining each #pragma warning disable
massaging OSHttpRequestPump to not abort on exceptions...
This commit is contained in:
@@ -61,9 +61,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog
|
||||
Functor3 argFunctor = (Functor3)arg;
|
||||
if (_name.Equals(argFunctor._name))
|
||||
{
|
||||
// disable warning on l1, l2, l3 don't see how we can
|
||||
// code this differently
|
||||
#pragma warning disable 0168
|
||||
// disable warning: don't see how we can code this differently short
|
||||
// of rewriting the whole thing
|
||||
#pragma warning disable 0168
|
||||
foreach (bool l1 in YP.unify(_arg1, argFunctor._arg1))
|
||||
{
|
||||
foreach (bool l2 in YP.unify(_arg2, argFunctor._arg2))
|
||||
@@ -72,17 +72,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog
|
||||
yield return false;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 0168
|
||||
#pragma warning restore 0168
|
||||
}
|
||||
}
|
||||
else if (arg is Variable)
|
||||
{
|
||||
// disable warning on l1, don't see how we can
|
||||
// code this differently
|
||||
#pragma warning disable 0168
|
||||
// disable warning: don't see how we can code this differently short
|
||||
// of rewriting the whole thing
|
||||
#pragma warning disable 0168
|
||||
foreach (bool l1 in ((Variable)arg).unify(this))
|
||||
yield return false;
|
||||
#pragma warning restore 0168
|
||||
#pragma warning restore 0168
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user