[vlc-commits] dsm: remove useless b_is_browsing

Thomas Guillem git at videolan.org
Thu May 21 17:10:49 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed May 20 19:04:02 2015 +0200| [1ba5920aa845d3b87205930800f684bcb918a469] | committer: Thomas Guillem

dsm: remove useless b_is_browsing

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ba5920aa845d3b87205930800f684bcb918a469
---

 modules/access/dsm/access.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c
index a2e3158..bce5627 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -124,7 +124,6 @@ struct access_sys_t
 
     smb_fd              i_fd;               /**< SMB fd for the file we're reading */
     smb_tid             i_tid;              /**< SMB Tree ID we're connected to */
-    bool                b_is_browsing;
 
     size_t              i_browse_count;
     size_t              i_browse_idx;
@@ -185,10 +184,7 @@ static int Open( vlc_object_t *p_this )
         goto error;
 
     if( !get_path( p_access ) )
-    {
-        p_sys->b_is_browsing = true;
         return BrowserInit( p_access );
-    }
 
     msg_Dbg( p_access, "Path: Share name = %s, path = %s", p_sys->psz_share,
              p_sys->psz_path );
@@ -215,7 +211,6 @@ static int Open( vlc_object_t *p_this )
     if( smb_stat_get( st, SMB_STAT_ISDIR ) )
     {
         smb_fclose( p_sys->p_session, p_sys->i_fd );
-        p_sys->b_is_browsing = true;
         return BrowserInit( p_access );
     }
 



More information about the vlc-commits mailing list