diff options
author | Kinglong Mee <mijinlong@open-fs.com> | 2017-04-28 05:46:50 -0400 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2017-05-08 17:35:35 +0000 |
commit | 18e07cf01f975c80152e5469fb4e4274f08dc636 (patch) | |
tree | d50eb5d74dcb010fd37bb36b523792d41fa14a83 /cli/src/cli-rpc-ops.c | |
parent | 0d8923d6d70af702730a43a536a5d0b25b4061dc (diff) |
cli: fix build error with --disable-xml-output
./configure --disable-xml-output --disable-georeplication
make
Making all in src
CC cli.o
In file included from cli.c:42:0:
cli.h:440:24: error: unknown type name ‘xmlTextWriterPtr’
cli_xml_output_common (xmlTextWriterPtr writer, int op_ret, int op_errno,
^
cli.h:443:26: error: unknown type name ‘xmlTextWriterPtr’
cli_xml_snapshot_delete (xmlTextWriterPtr writer, xmlDocPtr doc, dict_t *dict,
^
cli.h:443:51: error: unknown type name ‘xmlDocPtr’
cli_xml_snapshot_delete (xmlTextWriterPtr writer, xmlDocPtr doc, dict_t *dict,
^
make[1]: *** [cli.o] Error 1
make: *** [all-recursive] Error 1
Change-Id: I36c2dfc11f89d774b62dfe6f50b156826bed5b66
Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Reviewed-on: https://review.gluster.org/17136
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-by: Prashanth Pai <ppai@redhat.com>
Tested-by: Prashanth Pai <ppai@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'cli/src/cli-rpc-ops.c')
-rw-r--r-- | cli/src/cli-rpc-ops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index d90395c6f76..c79094337b2 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -9406,8 +9406,7 @@ cli_snapshot_remove_reply (gf_cli_rsp *rsp, dict_t *dict, call_frame_t *frame) } if (global_state->mode & GLUSTER_MODE_XML) { - ret = cli_xml_snapshot_delete (local->writer, local->doc, - dict, rsp); + ret = cli_xml_snapshot_delete (local, dict, rsp); if (ret) { gf_log ("cli", GF_LOG_ERROR, "Failed to create " "xml output for snapshot delete command"); |