]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
just shut up the analyzer
authorAlan T. DeKok <aland@freeradius.org>
Thu, 12 Aug 2021 16:40:00 +0000 (12:40 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 12 Aug 2021 16:40:00 +0000 (12:40 -0400)
src/lib/util/dict_util.c

index 70d2a4868dc33d5505d1eb0f3920d3844acfc289..0205af1b1793db01f93420e412ea967cfc3c8f82 100644 (file)
@@ -2221,7 +2221,9 @@ ssize_t dict_attr_search(fr_dict_attr_err_t *err, fr_dict_attr_t const **out,
                return 0;
        }
 
+#ifdef __clang_analyzer__
        if (internal && !dict_gctx->internal) return -1;
+#endif
 
        /*
         *      dict_def search in the specified dictionary