summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-05 17:37:53 +0100
committerVolker Lendecke <vlendec@samba.org>2011-03-05 17:25:43 +0100
commita40bb91213a321ea08897d7152d9d64defa1a8b1 (patch)
tree5ee933c80a6f77a87bc7101ad3c96e0472d067d0 /source3
parentbe3e851fea7c279afc879bc4b5923605ba66ad64 (diff)
downloadsamba-a40bb91213a321ea08897d7152d9d64defa1a8b1.tar.gz
samba-a40bb91213a321ea08897d7152d9d64defa1a8b1.tar.bz2
samba-a40bb91213a321ea08897d7152d9d64defa1a8b1.zip
s3: Fix uninitialized variables
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 5 17:25:43 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_cm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index f221532824..8a21f47331 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -1431,7 +1431,8 @@ static void store_current_dc_in_gencache(const char *domain_name,
struct cli_state *cli)
{
char addr[INET6_ADDRSTRLEN];
- char *key, *value;
+ char *key = NULL;
+ char *value = NULL;
if (cli == NULL) {
return;