From c5a82eade80955faa68c834f7827efe48d1b9b14 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 31 Dec 2015 18:31:02 +0200 Subject: [PATCH] http: remove constant member --- modules/access/http.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/access/http.c b/modules/access/http.c index 42e7df7c7c..532bd2143b 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -129,7 +129,6 @@ vlc_module_end () struct access_sys_t { int fd; - bool b_error; vlc_tls_creds_t *p_creds; vlc_tls_t *p_tls; @@ -218,7 +217,6 @@ static int Open( vlc_object_t *p_this ) return VLC_ENOMEM; p_sys->fd = -1; - p_sys->b_error = false; p_sys->b_proxy = false; p_sys->psz_proxy_passbuf = NULL; p_sys->b_seekable = true; @@ -972,12 +970,6 @@ static int Connect( access_t *p_access, uint64_t i_tell ) i_status = 0; free( psz ); - - if( p_sys->b_error ) - { - Disconnect( p_access ); - return -1; - } } while( i_status ); } @@ -1131,12 +1123,6 @@ static int Request( access_t *p_access, uint64_t i_tell ) goto error; } - if( p_sys->b_error ) - { - free( psz ); - goto error; - } - /* msg_Dbg( p_input, "Line=%s", psz ); */ if( *psz == '\0' ) { -- 2.11.4.GIT