From 46c35b17a32d479f5780ca6a24e4e9c3b9cc2403 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 4 May 2006 17:47:04 +0000 Subject: r15441: cleanup older unused padding. Guenther (This used to be commit 6e225e0528604c797a953eb8d3b49a873b21584f) --- source3/include/rpc_samr.h | 2 -- source3/rpc_parse/parse_samr.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index c33d409997..7aea1b23c3 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -597,8 +597,6 @@ typedef struct sam_unknown_info_2_inf uint32 num_domain_grps; /* number of domain groups in domain */ uint32 num_local_grps; /* number of local groups in domain */ - uint8 padding[12]; /* 12 bytes zeros */ - UNISTR2 uni_comment; /* comment unicode string */ UNISTR2 uni_domain; /* domain name unicode string */ UNISTR2 uni_server; /* server name unicode string */ diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index c425b945b4..287e79f1b4 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -712,8 +712,6 @@ void init_unk_info2(SAM_UNK_INFO_2 * u_2, u_2->num_domain_grps = num_groups; u_2->num_local_grps = num_alias; - memset(u_2->padding, 0, sizeof(u_2->padding)); /* 12 bytes zeros */ - init_unistr2(&u_2->uni_comment, comment, UNI_FLAGS_NONE); init_uni_hdr(&u_2->hdr_comment, &u_2->uni_comment); init_unistr2(&u_2->uni_domain, domain, UNI_FLAGS_NONE); -- cgit