mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
smbclient: Move variable declarations closer to their use
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
95e235172a
commit
f879c83342
@ -813,8 +813,6 @@ NTSTATUS do_list(const char *mask,
|
||||
{
|
||||
static int in_do_list = 0;
|
||||
TALLOC_CTX *ctx = talloc_tos();
|
||||
struct cli_state *targetcli = NULL;
|
||||
char *targetpath = NULL;
|
||||
struct cli_credentials *creds =
|
||||
get_cmdline_auth_info_creds(popt_get_cmdline_auth_info());
|
||||
NTSTATUS ret_status = NT_STATUS_OK;
|
||||
@ -836,6 +834,8 @@ NTSTATUS do_list(const char *mask,
|
||||
|
||||
while (!do_list_queue_empty()) {
|
||||
const char *head = do_list_queue_head();
|
||||
struct cli_state *targetcli = NULL;
|
||||
char *targetpath = NULL;
|
||||
|
||||
/* check for dfs */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user