1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

s4-dsdb: Make array static

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2022-12-22 17:15:56 +13:00 committed by Andrew Bartlett
parent e8514527be
commit e7baac45a9

View File

@ -66,7 +66,7 @@ NTSTATUS dsdb_expand_nested_groups(struct ldb_context *sam_ctx,
TALLOC_CTX *res_sids_ctx, struct auth_SidAttr **res_sids,
uint32_t *num_res_sids)
{
const char * const attrs[] = { "groupType", "memberOf", NULL };
static const char * const attrs[] = { "groupType", "memberOf", NULL };
unsigned int i;
int ret;
struct ldb_dn *dn;