You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/01/25 03:44:13 UTC
[29/50] [abbrv] lucenenet git commit:
Lucene.Net.Tests.Spatial.Prefix.SpatialOpRecursivePrefixTreeTest: Disabled
warning about unused variable indexedAtLeastOneShapePair
Lucene.Net.Tests.Spatial.Prefix.SpatialOpRecursivePrefixTreeTest: Disabled warning about unused variable indexedAtLeastOneShapePair
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/ff89b055
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/ff89b055
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/ff89b055
Branch: refs/heads/api-work
Commit: ff89b055a5da10db5c2528cac5745d1712818723
Parents: 75eeb85
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Wed Jan 25 06:43:24 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Wed Jan 25 09:34:48 2017 +0700
----------------------------------------------------------------------
.../Prefix/SpatialOpRecursivePrefixTreeTest.cs | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/ff89b055/src/Lucene.Net.Tests.Spatial/Prefix/SpatialOpRecursivePrefixTreeTest.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Spatial/Prefix/SpatialOpRecursivePrefixTreeTest.cs b/src/Lucene.Net.Tests.Spatial/Prefix/SpatialOpRecursivePrefixTreeTest.cs
index 7bf6041..60a45ae 100644
--- a/src/Lucene.Net.Tests.Spatial/Prefix/SpatialOpRecursivePrefixTreeTest.cs
+++ b/src/Lucene.Net.Tests.Spatial/Prefix/SpatialOpRecursivePrefixTreeTest.cs
@@ -219,7 +219,9 @@ namespace Lucene.Net.Spatial.Prefix
IDictionary<String, IShape> indexedShapes = new LinkedHashMap<String, IShape>();
IDictionary<String, IShape> indexedShapesGS = new LinkedHashMap<String, IShape>();//grid snapped
int numIndexedShapes = randomIntBetween(1, 6);
+#pragma warning disable 219
bool indexedAtLeastOneShapePair = false;
+#pragma warning restore 219
for (int i = 0; i < numIndexedShapes; i++)
{
String id = "" + i;