summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-24 23:09:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:36 -0500
commit26875d59ba6d5d6fb9ac75f461953e0ebee6a8f3 (patch)
tree8cd3bad3a46c4dc3e0b2aa93ffc830cdbe2bff7d
parent1bd7f6ae63566f34a78f82712bb005e507968187 (diff)
downloadsamba-26875d59ba6d5d6fb9ac75f461953e0ebee6a8f3.tar.gz
samba-26875d59ba6d5d6fb9ac75f461953e0ebee6a8f3.tar.bz2
samba-26875d59ba6d5d6fb9ac75f461953e0ebee6a8f3.zip
r15878: Add explicit initialization to make the IBM checker happy.
(This used to be commit 3a5d3eb62c61d264fb583d2c94e3b3446988051b)
-rw-r--r--source4/lib/registry/reg_backend_nt4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/reg_backend_nt4.c b/source4/lib/registry/reg_backend_nt4.c
index c5f07e7b19..d1d19f904b 100644
--- a/source4/lib/registry/reg_backend_nt4.c
+++ b/source4/lib/registry/reg_backend_nt4.c
@@ -903,11 +903,11 @@ static uint32_t lf_add_entry (struct regf_data *regf, uint32_t list_offset, cons
uint32_t ret;
struct lf_block lf;
+ ZERO_STRUCT(lf);
+
/* Add to subkeys list */
if (list_offset == -1) { /* Need to create subkeys list */
lf.header = "lf";
- lf.key_count = 0;
- lf.hr = NULL;
} else {
if (!hbin_get_tdr(regf, list_offset, regf, (tdr_pull_fn_t)tdr_pull_lf_block, &lf)) {
DEBUG(0, ("Can't get subkeys list\n"));