mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
adding #pragma warnings to yprolog language support
This commit is contained in:
@@ -55,7 +55,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog
|
||||
|
||||
// disable warning on l1, don't see how we can
|
||||
// code this differently
|
||||
#pragma warning disable 0168
|
||||
#pragma warning disable 0168, 0219
|
||||
/// If arg is another Functor3, then succeed (yield once) if this and arg have the
|
||||
/// same name and all functor args unify, otherwise fail (don't yield).
|
||||
/// If arg is a Variable, then call its unify to unify with this.
|
||||
@@ -84,7 +84,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog
|
||||
yield return false;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 0168
|
||||
#pragma warning restore 0168, 0219
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user