summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-11-11 13:45:00 +0100
committerVolker Lendecke <vlendec@samba.org>2010-11-11 16:16:24 +0000
commit8a22fac3a01c31732ac843f903689e42cce3a5ae (patch)
tree14cf675a2fa05b7a6f34d63fd66d582162578910
parentd320ae7cbed565220529fa0da13ce22498d45096 (diff)
downloadsamba-8a22fac3a01c31732ac843f903689e42cce3a5ae.tar.gz
samba-8a22fac3a01c31732ac843f903689e42cce3a5ae.tar.bz2
samba-8a22fac3a01c31732ac843f903689e42cce3a5ae.zip
s3: Remove some dead code
-rw-r--r--source3/libsmb/clidfs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index e663855ccf..7e02147b8f 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -130,9 +130,6 @@ static struct cli_state *do_connect(TALLOC_CTX *ctx,
c = cli_initialise_ex(get_cmdline_auth_info_signing_state(auth_info));
if (c == NULL) {
d_printf("Connection to %s failed\n", server_n);
- if (c) {
- cli_shutdown(c);
- }
return NULL;
}
if (port) {