From 26875d59ba6d5d6fb9ac75f461953e0ebee6a8f3 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 24 May 2006 23:09:29 +0000 Subject: [PATCH] r15878: Add explicit initialization to make the IBM checker happy. (This used to be commit 3a5d3eb62c61d264fb583d2c94e3b3446988051b) --- source4/lib/registry/reg_backend_nt4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/lib/registry/reg_backend_nt4.c b/source4/lib/registry/reg_backend_nt4.c index c5f07e7b190..d1d19f904b7 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")); -- 2.34.1