]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove clang scan hack
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 6 Mar 2024 21:53:44 +0000 (15:53 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 6 Mar 2024 21:53:44 +0000 (15:53 -0600)
src/lib/util/pair.c

index 8010c54aef8e59bba1319808e13c34be978b37ac..e8fb882cd5156fc464821afe48787bff99ef2bd7 100644 (file)
@@ -2053,7 +2053,6 @@ int fr_pair_list_cmp(fr_pair_list_t const *a, fr_pair_list_t const *b)
  *
  * @todo add thread specific talloc contexts.
  *
- * @param ctx a hack until we have thread specific talloc contexts.
  * @param failed pair of attributes which didn't match.
  */
 void fr_pair_validate_debug(fr_pair_t const *failed[2])
@@ -2077,10 +2076,6 @@ void fr_pair_validate_debug(fr_pair_t const *failed[2])
                return;
        }
 
-#ifdef STATIC_ANALYZER
-       if (!value || !str) return;
-#endif
-
        fr_strerror_printf("Attribute value: \"%pP\" didn't match filter: \"%pP\"", list, filter);
 
        return;