You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by db...@apache.org on 2014/04/25 05:26:12 UTC

git commit: remove dead local vars

Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.0 871a6030b -> 86382f642


remove dead local vars


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/86382f64
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/86382f64
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/86382f64

Branch: refs/heads/cassandra-2.0
Commit: 86382f6427803854e24e7ae198f2292e1b9edf09
Parents: 871a603
Author: Dave Brosius <db...@mebigfatguy.com>
Authored: Thu Apr 24 23:25:29 2014 -0400
Committer: Dave Brosius <db...@mebigfatguy.com>
Committed: Thu Apr 24 23:25:29 2014 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/cql3/statements/SelectStatement.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/86382f64/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java b/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
index 2652b29..60ed763 100644
--- a/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
+++ b/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
@@ -1451,8 +1451,6 @@ public class SelectStatement implements CQLStatement, MeasurableForPreparedCache
                     //   1) we're in the special case of the 'tuple' notation from #4851 which we expand as multiple
                     //      consecutive slices: in which case we're good with this restriction and we continue
                     //   2) we have a 2ndary index, in which case we have to use it but can skip more validation
-                    boolean hasTuple = false;
-                    boolean hasRestrictedNotTuple = false;
                     if (!(previousIsSlice && restriction.isSlice() && ((Restriction.Slice)restriction).isPartOfTuple()))
                     {
                         if (hasQueriableIndex)