From 7791f2612d0c149a8b2afbcf55fc606c607ad487 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Fri, 23 Aug 2013 21:32:22 +0200 Subject: [PATCH] remove unused variable --- .../cluster/routing/allocation/AllocationService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java b/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java index b05a9253855..9a053384e93 100644 --- a/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java +++ b/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java @@ -179,8 +179,6 @@ public class AllocationService extends AbstractComponent { } private boolean reroute(RoutingAllocation allocation) { - Iterable dataNodes = allocation.nodes().dataNodes().values(); - boolean changed = false; // first, clear from the shards any node id they used to belong to that is now dead changed |= deassociateDeadNodes(allocation);