From dd37fbb137541b6fe1953d844edf839705da7075 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Mon, 17 Nov 2008 11:16:24 +0000 Subject: [PATCH] fixing warnings in YProlog language support --- .../Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs index 22b3742352..a7cf369dec 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs @@ -72,7 +72,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools // disable warning: don't see how we can code this differently short // of rewriting the whole thing -#pragma warning disable 0168 +#pragma warning disable 0168, 0219 foreach (bool l1 in Parser.parseInput(TermList)) { foreach (bool l2 in YPCompiler.makeFunctionPseudoCode(TermList, FunctionCode)) @@ -85,7 +85,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools //YPCompiler.convertStringCodesCSharp(VFC); } } -#pragma warning restore 0168 +#pragma warning restore 0168, 0219 YP.seen(); myCS_SW.Close(); YP.told();