From 38ff569ef83c20d3542dac1dce16f066f0fc3653 Mon Sep 17 00:00:00 2001 From: Ravishankar N Date: Thu, 15 May 2014 10:34:02 +0530 Subject: cluster/afr: remove unused variable Fix a compiler warning about unused variable. Missed to catch this in http://review.gluster.org/7723 Change-Id: Iac97051edb97bdd7dbc5f0fd0f2528d4d404d16d BUG: 1096040 Signed-off-by: Ravishankar N Reviewed-on: http://review.gluster.org/7765 Tested-by: Gluster Build System Reviewed-by: Niels de Vos --- xlators/cluster/afr/src/afr-self-heal-entry.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/cluster/afr') diff --git a/xlators/cluster/afr/src/afr-self-heal-entry.c b/xlators/cluster/afr/src/afr-self-heal-entry.c index d9ee0bc3972..f816e493075 100644 --- a/xlators/cluster/afr/src/afr-self-heal-entry.c +++ b/xlators/cluster/afr/src/afr-self-heal-entry.c @@ -2164,7 +2164,6 @@ afr_sh_entry_open (call_frame_t *frame, xlator_t *this) { int i = 0; int call_count = 0; - int *sources = NULL; fd_t *fd = NULL; @@ -2176,7 +2175,6 @@ afr_sh_entry_open (call_frame_t *frame, xlator_t *this) sh = &local->self_heal; priv = this->private; - sources = local->self_heal.sources; sh->block_size = priv->sh_readdir_size; sh->offset = 0; -- cgit