]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
tmpl rules can be NULL
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 28 Jan 2022 22:04:37 +0000 (16:04 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 28 Jan 2022 22:04:37 +0000 (16:04 -0600)
src/lib/server/tmpl.h

index 5256a5a2377b0f7f0c1878eeddd6e2b9d37ef325..a33ce56c8ee03b243e282a9372195e1ae8ac5452 100644 (file)
@@ -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);