]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Quiet clang scan
authorNick Porter <nick@portercomputing.co.uk>
Thu, 25 Aug 2022 15:33:14 +0000 (16:33 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 25 Aug 2022 15:33:14 +0000 (16:33 +0100)
src/lib/unlang/xlat_expr.c

index aabe9c2a41345dc9df4d1de0c0224575a4e2247a..331a2aafb190d0b09b4f50b63586451a4e6a5eb2 100644 (file)
@@ -2463,6 +2463,8 @@ static bool valid_type(xlat_exp_t *node)
 
 static fr_value_box_t *xlat_value_box(xlat_exp_t *node)
 {
+       if (!node) return NULL;
+
        if (node->type == XLAT_BOX) {
                return &node->data;