mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
squashing warnings critters
This commit is contained in:
@@ -673,8 +673,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog
|
||||
object[] args = new object[(int)Arity];
|
||||
for (int i = 0; i < args.Length; ++i)
|
||||
args[i] = new Variable();
|
||||
#pragma warning disable 0219
|
||||
foreach (bool l1 in YP.unify(Term, Functor.make((Atom)FunctorName, args)))
|
||||
yield return false;
|
||||
#pragma warning restore 0219
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -2399,11 +2401,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog
|
||||
if (_Head == null || _Body == null)
|
||||
yield break;
|
||||
|
||||
#pragma warning disable 0168
|
||||
foreach (bool l1 in YP.unify(Head, _Head))
|
||||
{
|
||||
foreach (bool l2 in YP.unify(Body, _Body))
|
||||
yield return false;
|
||||
}
|
||||
#pragma warning restore 0168
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user