From 9393ff4f71fb34320c941304c9769b57988b6186 Mon Sep 17 00:00:00 2001 From: Ilia Shipitsin Date: Wed, 13 May 2026 18:12:01 +0200 Subject: [PATCH] CLEANUP: addons/51degrees: initialize variables Found via cppcheck --force --enable=all --output-file=haproxy.log : addons/51degrees/51d.c:1073:8: error: Uninitialized variable: _51d_prop_name.name [uninitvar] --- addons/51degrees/51d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/51degrees/51d.c b/addons/51degrees/51d.c index 5642e9ed9..be2dc61bd 100644 --- a/addons/51degrees/51d.c +++ b/addons/51degrees/51d.c @@ -1062,7 +1062,7 @@ static int init_51degrees(void) static void deinit_51degrees(void) { - struct _51d_property_names *_51d_prop_name, *_51d_prop_nameb; + struct _51d_property_names *_51d_prop_name = NULL, *_51d_prop_nameb = NULL; #if defined(FIFTYONEDEGREES_H_PATTERN_INCLUDED) || defined(FIFTYONEDEGREES_H_TRIE_INCLUDED) free(global_51degrees.header_names);