From 936010740d45c1ecde4072cf5323e838c31bbbf0 Mon Sep 17 00:00:00 2001 From: Kotresh H R Date: Fri, 2 May 2014 09:48:31 +0530 Subject: features/changelog: Fix to remove Warning message. Fix warning message introduced in changelog draining patch. It is not caught in gcc 4.4, caught in gcc 4.8!! Signed-off-by: Kotresh H R Change-Id: I01a8fda2102a409dd6e935805d4d48b41b615fe8 BUG: 1091817 Signed-off-by: Kotresh H R Reviewed-on: http://review.gluster.org/7636 Reviewed-by: Venky Shankar Tested-by: Venky Shankar --- xlators/features/changelog/src/changelog-helpers.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xlators/features/changelog/src/changelog-helpers.c b/xlators/features/changelog/src/changelog-helpers.c index 2d412e7b60d..71f2f7a25ad 100644 --- a/xlators/features/changelog/src/changelog-helpers.c +++ b/xlators/features/changelog/src/changelog-helpers.c @@ -353,11 +353,9 @@ changelog_local_init (xlator_t *this, inode_t *inode, uuid_t gfid, int xtra_records, gf_boolean_t update_flag) { - changelog_priv_t *priv = NULL; changelog_local_t *local = NULL; struct iobuf *iobuf = NULL; - priv = this->private; /** * We relax the presence of inode if @update_flag is true. * The caller (implmentation of the fop) needs to be careful to -- cgit