From c9791397931a286242b669112b00cb03fefecd6e Mon Sep 17 00:00:00 2001 From: Kotresh H R Date: Wed, 11 Jun 2014 16:23:40 +0530 Subject: feature/changelog: Fix compilation warning 'set but not used' Change-Id: I37de39aec341fbde9516aa8f8c963b70bd808bac BUG: 1108034 Signed-off-by: Kotresh H R Reviewed-on: http://review.gluster.org/8035 Tested-by: Gluster Build System Reviewed-by: Pranith Kumar Karampuri Tested-by: Pranith Kumar Karampuri --- xlators/features/changelog/src/changelog-barrier.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xlators/features/changelog') diff --git a/xlators/features/changelog/src/changelog-barrier.c b/xlators/features/changelog/src/changelog-barrier.c index 2c237708cf4..22cfa617e1b 100644 --- a/xlators/features/changelog/src/changelog-barrier.c +++ b/xlators/features/changelog/src/changelog-barrier.c @@ -96,11 +96,10 @@ void __chlog_barrier_disable (xlator_t *this, struct list_head *queue) { changelog_priv_t *priv = this->private; - int ret = 0; GF_ASSERT (priv); if (priv->timer) { - ret = gf_timer_call_cancel (this->ctx, priv->timer); + gf_timer_call_cancel (this->ctx, priv->timer); priv->timer = NULL; } -- cgit