The branch, master has been updated via 6c8ee02 s3: Use ZERO_STRUCT where appropriate from ee720fc tdb: increment sequence number in tdb_wipe_all().
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 6c8ee02e178145cc2ae4e4fbf0a78a0852d6a7f3 Author: Volker Lendecke <v...@samba.org> Date: Tue Aug 16 12:30:58 2011 +0200 s3: Use ZERO_STRUCT where appropriate Autobuild-User: Volker Lendecke <vlen...@samba.org> Autobuild-Date: Tue Aug 16 13:59:55 CEST 2011 on sn-devel-104 ----------------------------------------------------------------------- Summary of changes: source3/param/loadparm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 94f9da9..b0c64c7 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4700,7 +4700,7 @@ static void init_globals(bool reinit_globals) * wipe out smb.conf options set with lp_set_cmdline(). The * apply_lp_set_cmdline() call puts these values back in the * table once the defaults are set */ - memset((void *)&Globals, '\0', sizeof(Globals)); + ZERO_STRUCT(Globals); for (i = 0; parm_table[i].label; i++) { if ((parm_table[i].type == P_STRING || -- Samba Shared Repository