git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d160f
)
Fix two bogus uninitalized variable warnings
author
Volker Lendecke
<vl@samba.org>
Sun, 25 May 2008 11:44:59 +0000
(13:44 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 25 May 2008 11:53:44 +0000
(13:53 +0200)
(This used to be commit
194ea682d9a5c12a0125fecc20349ca9cc3d3ea1
)
source3/libsmb/dsgetdcname.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/dsgetdcname.c
b/source3/libsmb/dsgetdcname.c
index d57689cd4834a6262610622a75fa3769c39ba214..be38db1a3ac38eb61969c41fddffff10c3470df5 100644
(file)
--- a/
source3/libsmb/dsgetdcname.c
+++ b/
source3/libsmb/dsgetdcname.c
@@
-920,7
+920,8
@@
static NTSTATUS make_dc_info_from_cldap_reply(TALLOC_CTX *mem_ctx,
union nbt_cldap_netlogon *r,
struct netr_DsRGetDCNameInfo **info)
{
- const char *dc_hostname, *dc_domain_name;
+ const char *dc_hostname = NULL;
+ const char *dc_domain_name = NULL;
const char *dc_address = NULL;
const char *dc_forest = NULL;
uint32_t dc_address_type = 0;