Commit dd334ce0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix use of fatal use of unitialized value (regression in [11778])

parent 42af3cf8
...@@ -66,7 +66,7 @@ struct vlc_acl_t ...@@ -66,7 +66,7 @@ struct vlc_acl_t
static int ACL_Resolve( vlc_object_t *p_this, uint8_t *p_bytes, static int ACL_Resolve( vlc_object_t *p_this, uint8_t *p_bytes,
const char *psz_ip ) const char *psz_ip )
{ {
struct addrinfo hints, *res; struct addrinfo hints = { 0 }, *res;
int i_family; int i_family;
hints.ai_socktype = SOCK_STREAM; /* doesn't matter */ hints.ai_socktype = SOCK_STREAM; /* doesn't matter */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment