From: Alan T. DeKok Date: Mon, 28 Aug 2023 21:18:48 +0000 (-0400) Subject: shut up static analyzer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c41ad4bba19d66d306badbd8d4fc9e2d0e04d9f2;p=thirdparty%2Ffreeradius-server.git shut up static analyzer --- diff --git a/src/lib/util/regex.c b/src/lib/util/regex.c index e06c58644a6..011e8685ec1 100644 --- a/src/lib/util/regex.c +++ b/src/lib/util/regex.c @@ -1363,7 +1363,7 @@ int fr_regex_cmp_op(fr_token_t op, fr_value_box_t const *a, fr_value_box_t const TALLOC_CTX *ctx = NULL; size_t lhs_len; char const *lhs; - regex_t *regex; + regex_t *regex = NULL; if (!((op == T_OP_REG_EQ) || (op == T_OP_REG_NE))) { fr_strerror_const("Invalid operator for regex comparison");