From: Joseph Sutton Date: Thu, 22 Dec 2022 04:15:56 +0000 (+1300) Subject: s4-dsdb: Make array static X-Git-Tag: talloc-2.4.1~1541 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7baac45a9dc63f727657be1e46c10b4cc85139f;p=thirdparty%2Fsamba.git s4-dsdb: Make array static Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/dsdb/common/util_groups.c b/source4/dsdb/common/util_groups.c index bb56129e671..239e6952d2a 100644 --- a/source4/dsdb/common/util_groups.c +++ b/source4/dsdb/common/util_groups.c @@ -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;