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

network: remove shadow variable

parent 3674097b
......@@ -135,7 +135,6 @@ int net_Connect( vlc_object_t *p_this, const char *psz_host, int i_port,
}, *res;
int val = vlc_getaddrinfo (psz_realhost, i_realport, &hints, &res);
if (val)
{
msg_Err (p_this, "cannot resolve %s port %d : %s", psz_realhost,
......@@ -161,8 +160,6 @@ int net_Connect( vlc_object_t *p_this, const char *psz_host, int i_port,
if( connect( fd, ptr->ai_addr, ptr->ai_addrlen ) )
{
int val;
if( net_errno != EINPROGRESS && net_errno != EINTR )
{
msg_Err( p_this, "connection failed: %s",
......
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