summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-handshake.c
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-08-29 14:24:48 -0400
committerNiels de Vos <ndevos@redhat.com>2016-09-05 04:11:34 -0700
commit02c828f54a693abf1521aa9b889289b25a463b4f (patch)
treea5494588a20cb33a7c7e790cd0f73a53e4075a62 /xlators/protocol/client/src/client-handshake.c
parent17be5486151a65947bc6cbd2cfaa39fcd0af50a1 (diff)
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 <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15339 Smoke: Gluster Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Anuradha Talur <atalur@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/protocol/client/src/client-handshake.c')
-rw-r--r--xlators/protocol/client/src/client-handshake.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c
index 3284fac..00299d1 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) {