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

No need to check HAVE_GETENV

We have had a replacement for quite a while already.
parent 6dd92709
......@@ -465,7 +465,6 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
"in registry." );
}
}
#elif defined( HAVE_GETENV )
else
{
psz = getenv( "http_proxy" );
......@@ -475,7 +474,6 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
vlc_UrlParse( &p_sys->proxy, psz, 0 );
}
}
#endif
if( psz ) /* No, this is NOT a use-after-free error */
{
......
......@@ -107,7 +107,6 @@ int MMSHOpen( access_t *p_access )
vlc_UrlParse( &p_sys->proxy, psz_proxy, 0 );
free( psz_proxy );
}
#ifdef HAVE_GETENV
else
{
const char *http_proxy = getenv( "http_proxy" );
......@@ -117,7 +116,6 @@ int MMSHOpen( access_t *p_access )
vlc_UrlParse( &p_sys->proxy, http_proxy, 0 );
}
}
#endif
if( p_sys->b_proxy )
{
......
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