a = fr_dlist_head(in);
b = fr_dlist_next(in, a);
+#ifdef __clang_analyzer__
+ if (!a || !b) retunr XLAT_ACTION_FAIL;
+#else
fr_assert(a != NULL);
fr_assert(b != NULL);
+#endif
+
rcode = fr_value_calc_binary_op(dst, dst, FR_TYPE_NULL, a, op, b);
if (rcode < 0) {
* For needs_async, if both the parent and the child are needs_async, the parent is
* needs_async.
*/
-static inline void xlat_flags_merge(xlat_flags_t *parent, xlat_flags_t const *child)
+static inline CC_HINT(nonnull) void xlat_flags_merge(xlat_flags_t *parent, xlat_flags_t const *child)
{
parent->needs_async |= child->needs_async;
parent->needs_resolving |= child->needs_resolving;