From e05439cc931ea36b861ed75e41d54a67aa01d226 Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Fri, 28 Jan 2022 16:04:37 -0600 Subject: [PATCH] tmpl rules can be NULL --- src/lib/server/tmpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/server/tmpl.h b/src/lib/server/tmpl.h index 5256a5a237..a33ce56c8e 100644 --- a/src/lib/server/tmpl.h +++ b/src/lib/server/tmpl.h @@ -904,7 +904,7 @@ tmpl_t *tmpl_init_shallow(tmpl_t *vpt, tmpl_type_t type, fr_token_t quote, tmpl_t *tmpl_init(tmpl_t *vpt, tmpl_type_t type, fr_token_t quote, char const *name, ssize_t len, - tmpl_rules_t const *t_rules) CC_HINT(nonnull); + tmpl_rules_t const *t_rules) CC_HINT(nonnull(1,4)); tmpl_t *tmpl_alloc(TALLOC_CTX *ctx, tmpl_type_t type, fr_token_t quote, char const *name, ssize_t len); -- 2.47.3