From: Alan T. DeKok Date: Wed, 11 Sep 2019 01:47:31 +0000 (-0400) Subject: dict can be NULL. Others can't. Fixes #2971 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4a76e2bcd93b8a155efb834d994925fdb6cb5e6;p=thirdparty%2Ffreeradius-server.git dict can be NULL. Others can't. Fixes #2971 --- diff --git a/src/lib/server/cond.h b/src/lib/server/cond.h index ac7060fc05a..0a0e10e966f 100644 --- a/src/lib/server/cond.h +++ b/src/lib/server/cond.h @@ -90,7 +90,7 @@ struct fr_cond_t { }; ssize_t fr_cond_tokenize(CONF_SECTION *cs, fr_cond_t **head, char const **error, - fr_dict_t const *dict, char const *start) CC_HINT(nonnull); + fr_dict_t const *dict, char const *start) CC_HINT(nonnull(1,2,3,5)); size_t cond_snprint(char *buffer, size_t bufsize, fr_cond_t const *c); bool fr_cond_walk(fr_cond_t *head, bool (*callback)(fr_cond_t *cond, void *uctx), void *uctx);