cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject [1/3] git commit: remove dead local vars
Date Fri, 25 Apr 2014 03:27:53 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk bd6431323 -> bcb3f4713


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/trunk
Commit: 86382f6427803854e24e7ae198f2292e1b9edf09
Parents: 871a603
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Thu Apr 24 23:25:29 2014 -0400
Committer: Dave Brosius <dbrosius@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)


Mime
View raw message