diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-06-09 14:38:33 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-06-09 16:00:28 +0200 |
commit | d7fe70a698d6f4199c11a413a69084f5d41e9acd (patch) | |
tree | afd6cd3480e0fc27a378dc35a0392e185265f0b1 /source3/rpcclient | |
parent | e3396cffecafe7ece91bed2185ed89bf8df12d79 (diff) | |
download | samba-d7fe70a698d6f4199c11a413a69084f5d41e9acd.tar.gz samba-d7fe70a698d6f4199c11a413a69084f5d41e9acd.tar.bz2 samba-d7fe70a698d6f4199c11a413a69084f5d41e9acd.zip |
s3:rpcclient: remove unused new_workgroup variable
new_workgroup was not initialized but used to overwrite the
value of lp_workgroup().
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jun 9 16:00:28 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index c5da092e9a..542862606b 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -892,7 +892,6 @@ out_free: struct sockaddr_storage server_ss; NTSTATUS nt_status; static int opt_port = 0; - fstring new_workgroup; int result = 0; TALLOC_CTX *frame = talloc_stackframe(); uint32_t flags = 0; @@ -980,9 +979,6 @@ out_free: if (!lp_load(get_dyn_CONFIGFILE(),True,False,False,True)) fprintf(stderr, "Can't load %s\n", get_dyn_CONFIGFILE()); - if ( strlen(new_workgroup) != 0 ) - lp_set_cmdline("workgroup", new_workgroup ); - /* * Get password * from stdin if necessary |