svn commit: samba r15878 - in
branches/SAMBA_4_0/source/lib/registry: .
jelmer at samba.org
jelmer at samba.org
Wed May 24 23:09:31 GMT 2006
Author: jelmer
Date: 2006-05-24 23:09:29 +0000 (Wed, 24 May 2006)
New Revision: 15878
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15878
Log:
Add explicit initialization to make the IBM checker happy.
Modified:
branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c 2006-05-24 22:57:14 UTC (rev 15877)
+++ branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c 2006-05-24 23:09:29 UTC (rev 15878)
@@ -903,11 +903,11 @@
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"));
More information about the samba-cvs
mailing list