[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-950-g2322fe7

Volker Lendecke vl at samba.org
Sat Dec 29 15:38:28 GMT 2007


The branch, v3-2-test has been updated
       via  2322fe718728178990fdc3696b84f5de7ae7701b (commit)
      from  8ba3b8cf7aca657ad8426981d810c36ee6a34a2f (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 2322fe718728178990fdc3696b84f5de7ae7701b
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Dec 29 16:35:51 2007 +0100

    Fix uninitalized variables

-----------------------------------------------------------------------

Summary of changes:
 source/libnet/libnet_conf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libnet/libnet_conf.c b/source/libnet/libnet_conf.c
index 99fde86..23b9131 100644
--- a/source/libnet/libnet_conf.c
+++ b/source/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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list