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

Fix warning

parent 775b1169
...@@ -56,9 +56,10 @@ struct vlc_acl_t ...@@ -56,9 +56,10 @@ 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 = { 0 }, *res; struct addrinfo hints, *res;
int i_family; int i_family;
memset (&hints, 0, sizeof (hints));
hints.ai_socktype = SOCK_STREAM; /* doesn't matter */ hints.ai_socktype = SOCK_STREAM; /* doesn't matter */
hints.ai_flags = AI_NUMERICHOST; hints.ai_flags = AI_NUMERICHOST;
......
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