mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
adding #pragma warnings to yprolog language support
This commit is contained in:
@@ -116,10 +116,10 @@ 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
|
||||
foreach (bool l1 in YP.unify(this, arg))
|
||||
yield return false;
|
||||
#pragma warning restore 0168
|
||||
#pragma warning restore 0168, 0219
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user