Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 202C611A72 for ; Fri, 25 Apr 2014 03:26:16 +0000 (UTC) Received: (qmail 11976 invoked by uid 500); 25 Apr 2014 03:26:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 10995 invoked by uid 500); 25 Apr 2014 03:26:14 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 10647 invoked by uid 99); 25 Apr 2014 03:26:13 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 03:26:13 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id F0AB3992979; Fri, 25 Apr 2014 03:26:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dbrosius@apache.org To: commits@cassandra.apache.org Message-Id: <5bc8985041334d539e964dfb12ca7aef@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: remove dead local vars Date: Fri, 25 Apr 2014 03:26:12 +0000 (UTC) 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 Authored: Thu Apr 24 23:25:29 2014 -0400 Committer: Dave Brosius 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)