diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-29 16:35:51 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-29 16:41:31 +0100 |
commit | d38aa8d0371dd48a0bed3a38069b9125d3dfb440 (patch) | |
tree | fc3cc58ef2d9462bfcdac942d590d1f3fa031910 /source3/libnet | |
parent | 519277fcb77701f3fdb60aae79dea06d3bdbecda (diff) | |
download | samba-d38aa8d0371dd48a0bed3a38069b9125d3dfb440.tar.gz samba-d38aa8d0371dd48a0bed3a38069b9125d3dfb440.tar.bz2 samba-d38aa8d0371dd48a0bed3a38069b9125d3dfb440.zip |
Fix uninitalized variables
(This used to be commit 2322fe718728178990fdc3696b84f5de7ae7701b)
Diffstat (limited to 'source3/libnet')
-rw-r--r-- | source3/libnet/libnet_conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c index 99fde86adc..23b9131bae 100644 --- a/source3/libnet/libnet_conf.c +++ b/source3/libnet/libnet_conf.c @@ -276,7 +276,7 @@ static WERROR libnet_smbconf_reg_get_values(TALLOC_CTX *mem_ctx, char ***value_names, char ***value_strings) { - TALLOC_CTX *tmp_ctx; + TALLOC_CTX *tmp_ctx = NULL; WERROR werr = WERR_OK; uint32_t count; struct registry_value *valvalue = NULL; @@ -391,7 +391,7 @@ WERROR libnet_smbconf_get_share_names(TALLOC_CTX *mem_ctx, uint32_t *num_shares, char ***share_names) { uint32_t count; - TALLOC_CTX *tmp_ctx; + TALLOC_CTX *tmp_ctx = NULL; WERROR werr = WERR_OK; struct registry_key *key = NULL; char *subkey_name = NULL; |