summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2012-08-03 12:11:46 +0530
committerAnand Avati <avati@redhat.com>2012-08-03 00:40:38 -0700
commit8a1dedca925fe99860f61b554b7c86d8c1302596 (patch)
tree86f9bc0738834726d55b3366439d8840aa380942
parent6731020700b949e1e7351d8e5d390f329bf4fba2 (diff)
mgmt/glusterd: Fix a compilation failure when libxml2-dev is not present
Addresses problem introduced by 1e4a2354b57a1eb Change-Id: I7cea76410769c584af6960860260fbd061a6df8a BUG: 844696 Signed-off-by: Vijay Bellur <vijay@gluster.com> Reviewed-on: http://review.gluster.com/3778 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index e58c007d585..0267129b010 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -5620,6 +5620,9 @@ glusterd_volset_help (dict_t *dict, char **op_errstr)
{
int ret = -1;
gf_boolean_t xml_out = _gf_false;
+ xlator_t *this = NULL;
+
+ this = THIS;
if (!dict) {
if (!(dict = glusterd_op_get_ctx ())) {