diff options
author | Kotresh H R <khiremat@redhat.com> | 2014-05-02 09:48:31 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-05-02 00:22:27 -0700 |
commit | 936010740d45c1ecde4072cf5323e838c31bbbf0 (patch) | |
tree | 5b504d244310d8c9e3e2f64d0b861f860b586f19 /xlators | |
parent | b3031351b0e69195413f5f5b9cad2752e3eb713d (diff) |
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 <khiremat@redhat.com>
Change-Id: I01a8fda2102a409dd6e935805d4d48b41b615fe8
BUG: 1091817
Signed-off-by: Kotresh H R <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/7636
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Tested-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/features/changelog/src/changelog-helpers.c | 2 |
1 files changed, 0 insertions, 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 |