diff options
author | Michael Adam <obnox@samba.org> | 2016-02-22 15:18:26 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-02-23 01:41:17 +0100 |
commit | def483c81536be8bf49f27c536fb37bef3e0930e (patch) | |
tree | 8f67f041f2e4aff69d03fd01daa8689417c71d6a | |
parent | b3931af2df293a9cb75f21cdb5555fb6725dff34 (diff) | |
download | samba-def483c81536be8bf49f27c536fb37bef3e0930e.tar.gz |
winbindd: move a variable into scope
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | source3/winbindd/winbindd_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_misc.c b/source3/winbindd/winbindd_misc.c index 29831aae981..3e024c9e2fe 100644 --- a/source3/winbindd/winbindd_misc.c +++ b/source3/winbindd/winbindd_misc.c @@ -88,7 +88,6 @@ static bool trust_is_transitive(struct winbindd_tdc_domain *domain) void winbindd_list_trusted_domains(struct winbindd_cli_state *state) { struct winbindd_tdc_domain *dom_list = NULL; - struct winbindd_tdc_domain *d = NULL; size_t num_domains = 0; int extra_data_len = 0; char *extra_data = NULL; @@ -111,6 +110,7 @@ void winbindd_list_trusted_domains(struct winbindd_cli_state *state) for ( i = 0; i < num_domains; i++ ) { struct winbindd_domain *domain; bool is_online = true; + struct winbindd_tdc_domain *d = NULL; d = &dom_list[i]; domain = find_domain_from_name_noinit(d->domain_name); |