Skip to content

Commit

Permalink
Remove unused variable err in net_util.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Dec 13, 2023
1 parent a88135b commit bd082bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ static bool my_ip_address_list_populate(void *user_data, net_adapter_s *adapter)
// Enumerate network adapters and get localhost addresses with a filter
static char *my_ip_address_filter(int32_t family, int32_t max_addrs) {
address_list list = {family, max_addrs, NULL, 0, 1};
int32_t err = 0;

if (!net_adapter_enum(&list, my_ip_address_list_length))
return NULL;
Expand Down

0 comments on commit bd082bf

Please sign in to comment.