TT#14008 silence coverity warning

Initialising the other members of this struct is not really necessary as
they're not used in the hash lookup. But let's do it anyway.

Change-Id: Ia7cf982fe91e9c4d273b1fc2d2ee8b19ce345a13
Warned-by: coverity
mr10.4
Richard Fuchs 4 years ago
parent 87e283f3f2
commit dd38ff2836

@ -637,7 +637,7 @@ int is_local_endpoint(const struct intf_address *addr, unsigned int port) {
// called during single-threaded startup only
static void __add_intf_rr_1(struct logical_intf *lif, str *name_base, sockfamily_t *fam) {
struct logical_intf key;
struct logical_intf key = {0,};
key.name = *name_base;
key.preferred_family = fam;
struct intf_rr *rr = g_hash_table_lookup(__logical_intf_name_family_rr_hash, &key);

Loading…
Cancel
Save