summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2014-05-15 10:34:02 +0530
committerNiels de Vos <ndevos@redhat.com>2014-05-15 06:31:03 -0700
commit38ff569ef83c20d3542dac1dce16f066f0fc3653 (patch)
tree8932e23da3f3202fdb12cab44a7aa6514d2852fc /xlators/cluster
parentfebae2965d1104531d032b2a767428b3b5d5283f (diff)
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 <ravishankar@redhat.com> Reviewed-on: http://review.gluster.org/7765 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-entry.c2
1 files changed, 0 insertions, 2 deletions
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;