]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Quiet warning
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 12 Aug 2024 12:53:56 +0000 (08:53 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 12 Aug 2024 12:54:07 +0000 (08:54 -0400)
src/lib/unlang/xlat_redundant.c

index 1d68ea2ee8d1c995129437493f9a246803d783a4..1393c0fe21051faba7403a025215eb65e4aca7a7 100644 (file)
@@ -397,7 +397,7 @@ int xlat_register_redundant(CONF_SECTION *cs)
 
        char const              *name1;
        xlat_redundant_type_t   xr_type;
-       xlat_func_flags_t       default_flags;
+       xlat_func_flags_t       default_flags = 0;      /* Prevent warnings about default flags if xr_rype is corrupt */
        xlat_arg_parser_t const *args = NULL;
 
        fr_type_t               return_type = FR_TYPE_NULL;