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]
This commit is contained in:
Ilia Shipitsin 2026-05-13 18:12:01 +02:00 committed by Willy Tarreau
parent 30811a3bac
commit 9393ff4f71

View file

@ -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);