mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-08 16:23:24 -04:00
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:
parent
30811a3bac
commit
9393ff4f71
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue