diff options
author | nebadon | 2012-03-23 02:22:57 -0700 |
---|---|---|
committer | nebadon | 2012-03-23 02:22:57 -0700 |
commit | 6b87a29c86f9e8612ffb348767c6544af989fc13 (patch) | |
tree | b3cbae860d10d364268bc522fad5fa3255f49371 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/YP.cs | |
parent | Comment out log message about sending periodic appearance updates. (diff) | |
download | opensim-SC-6b87a29c86f9e8612ffb348767c6544af989fc13.zip opensim-SC-6b87a29c86f9e8612ffb348767c6544af989fc13.tar.gz opensim-SC-6b87a29c86f9e8612ffb348767c6544af989fc13.tar.bz2 opensim-SC-6b87a29c86f9e8612ffb348767c6544af989fc13.tar.xz |
fix yield prolog so it compiles with mono 2.11 there has been a bugzilla
report files with mono project in regards to this change, this simply
lets us move forward with using mono 2.11 for now :
https://bugzilla.xamarin.com/show_bug.cgi?id=4052
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/YP.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/YP.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/YP.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/YP.cs index d8f44c1..f2171dd 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/YP.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/YP.cs | |||
@@ -576,7 +576,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog | |||
576 | break; | 576 | break; |
577 | } | 577 | } |
578 | } | 578 | } |
579 | 579 | int z = 0; | |
580 | try | 580 | try |
581 | { | 581 | { |
582 | if (gotMatch) | 582 | if (gotMatch) |
@@ -585,8 +585,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog | |||
585 | finally | 585 | finally |
586 | { | 586 | { |
587 | // Manually finalize all the iterators. | 587 | // Manually finalize all the iterators. |
588 | for (int i = 0; i < nIterators; ++i) | 588 | for (z = 0; z < nIterators; ++z) |
589 | iterators[i].Dispose(); | 589 | iterators[z].Dispose(); |
590 | } | 590 | } |
591 | } | 591 | } |
592 | 592 | ||