summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/src
diff options
context:
space:
mode:
authorKotresh H R <khiremat@redhat.com>2014-06-11 16:23:40 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2014-06-12 09:58:07 -0700
commitc9791397931a286242b669112b00cb03fefecd6e (patch)
tree0fdd7836bb10524d82241a632d232edb4306c13e /xlators/features/changelog/src
parent997d2fbd2dd31c0b16bf9323757cdc97200f6629 (diff)
feature/changelog: Fix compilation warning 'set but not used'
Change-Id: I37de39aec341fbde9516aa8f8c963b70bd808bac BUG: 1108034 Signed-off-by: Kotresh H R <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/8035 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/features/changelog/src')
-rw-r--r--xlators/features/changelog/src/changelog-barrier.c3
1 files changed, 1 insertions, 2 deletions
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;
}