From 02c828f54a693abf1521aa9b889289b25a463b4f Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Mon, 29 Aug 2016 14:24:48 -0400 Subject: protocol/client (no 2): fix unused variable warnings/errors http://review.gluster.org/14085 fixes a/the "leak" - via the generated rpc/xdr headers - of pragmas that mask these warnings. However 14085 won't pass the smoke test until all the warnings are fixed. BUG: 1369124 Change-Id: I54055b3b1038374b4e21432da48fdaeca2938289 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/15339 Smoke: Gluster Build System CentOS-regression: Gluster Build System Reviewed-by: Anuradha Talur NetBSD-regression: NetBSD Build System Reviewed-by: Niels de Vos --- xlators/protocol/client/src/client-handshake.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/protocol/client/src/client-handshake.c') diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index 3284facb893..00299d15743 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -1570,14 +1570,12 @@ client_query_portmap (xlator_t *this, struct rpc_clnt *rpc) int ret = -1; pmap_port_by_brick_req req = {0,}; call_frame_t *fr = NULL; - clnt_conf_t *conf = NULL; dict_t *options = NULL; char *remote_subvol = NULL; char *xprt = NULL; char brick_name[PATH_MAX] = {0,}; options = this->options; - conf = this->private; ret = dict_get_str (options, "remote-subvolume", &remote_subvol); if (ret < 0) { -- cgit