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

http: remove constant member

parent 70b37557
...@@ -129,7 +129,6 @@ vlc_module_end () ...@@ -129,7 +129,6 @@ vlc_module_end ()
struct access_sys_t struct access_sys_t
{ {
int fd; int fd;
bool b_error;
vlc_tls_creds_t *p_creds; vlc_tls_creds_t *p_creds;
vlc_tls_t *p_tls; vlc_tls_t *p_tls;
...@@ -218,7 +217,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -218,7 +217,6 @@ static int Open( vlc_object_t *p_this )
return VLC_ENOMEM; return VLC_ENOMEM;
p_sys->fd = -1; p_sys->fd = -1;
p_sys->b_error = false;
p_sys->b_proxy = false; p_sys->b_proxy = false;
p_sys->psz_proxy_passbuf = NULL; p_sys->psz_proxy_passbuf = NULL;
p_sys->b_seekable = true; p_sys->b_seekable = true;
...@@ -972,12 +970,6 @@ static int Connect( access_t *p_access, uint64_t i_tell ) ...@@ -972,12 +970,6 @@ static int Connect( access_t *p_access, uint64_t i_tell )
i_status = 0; i_status = 0;
free( psz ); free( psz );
if( p_sys->b_error )
{
Disconnect( p_access );
return -1;
}
} }
while( i_status ); while( i_status );
} }
...@@ -1131,12 +1123,6 @@ static int Request( access_t *p_access, uint64_t i_tell ) ...@@ -1131,12 +1123,6 @@ static int Request( access_t *p_access, uint64_t i_tell )
goto error; goto error;
} }
if( p_sys->b_error )
{
free( psz );
goto error;
}
/* msg_Dbg( p_input, "Line=%s", psz ); */ /* msg_Dbg( p_input, "Line=%s", psz ); */
if( *psz == '\0' ) if( *psz == '\0' )
{ {
......
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