From: Arran Cudbard-Bell Date: Mon, 12 Aug 2024 12:53:56 +0000 (-0400) Subject: Quiet warning X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a0548e200f41712d4a0aa49e2cb43282428d814;p=thirdparty%2Ffreeradius-server.git Quiet warning --- diff --git a/src/lib/unlang/xlat_redundant.c b/src/lib/unlang/xlat_redundant.c index 1d68ea2ee8d..1393c0fe210 100644 --- a/src/lib/unlang/xlat_redundant.c +++ b/src/lib/unlang/xlat_redundant.c @@ -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;