diff options
author | Dr Scofield | 2008-06-27 23:03:39 +0000 |
---|---|---|
committer | Dr Scofield | 2008-06-27 23:03:39 +0000 |
commit | 748f72326d9a295958bc9ba63bbb1a5d39030ef7 (patch) | |
tree | 58f2c9a5f6b8ffab5ad3621070aa17cb1c1e3e6b /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/FindallAnswers.cs | |
parent | more warnings to go. (diff) | |
download | opensim-SC_OLD-748f72326d9a295958bc9ba63bbb1a5d39030ef7.zip opensim-SC_OLD-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.gz opensim-SC_OLD-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.bz2 opensim-SC_OLD-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.xz |
last round of warning squashing. calling it a day now.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/FindallAnswers.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/FindallAnswers.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/FindallAnswers.cs index 28709e1..fbb173e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/FindallAnswers.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/FindallAnswers.cs | |||
@@ -81,8 +81,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog | |||
81 | public static IEnumerable<bool> findall(object Template, IEnumerable<bool> goal, object Bag) | 81 | public static IEnumerable<bool> findall(object Template, IEnumerable<bool> goal, object Bag) |
82 | { | 82 | { |
83 | FindallAnswers findallAnswers = new FindallAnswers(Template); | 83 | FindallAnswers findallAnswers = new FindallAnswers(Template); |
84 | // disable warning on l1, don't see how we can | ||
85 | // code this differently | ||
86 | #pragma warning disable 0168 | ||
84 | foreach (bool l1 in goal) | 87 | foreach (bool l1 in goal) |
85 | findallAnswers.add(); | 88 | findallAnswers.add(); |
89 | #pragma warning restore 0168 | ||
86 | return findallAnswers.result(Bag); | 90 | return findallAnswers.result(Bag); |
87 | } | 91 | } |
88 | 92 | ||
@@ -95,8 +99,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog | |||
95 | public static List<object> findallArray(object Template, IEnumerable<bool> goal) | 99 | public static List<object> findallArray(object Template, IEnumerable<bool> goal) |
96 | { | 100 | { |
97 | FindallAnswers findallAnswers = new FindallAnswers(Template); | 101 | FindallAnswers findallAnswers = new FindallAnswers(Template); |
102 | // disable warning on l1, don't see how we can | ||
103 | // code this differently | ||
104 | #pragma warning disable 0168 | ||
98 | foreach (bool l1 in goal) | 105 | foreach (bool l1 in goal) |
99 | findallAnswers.add(); | 106 | findallAnswers.add(); |
107 | #pragma warning restore 0168 | ||
100 | return findallAnswers.resultArray(); | 108 | return findallAnswers.resultArray(); |
101 | } | 109 | } |
102 | } | 110 | } |