[vlc-commits] macosx: Remove unused write-only variable

David Fuhrmann git at videolan.org
Sun Jun 10 11:03:02 CEST 2018


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Jun  9 19:49:16 2018 +0200| [756341047a8deb6d1e0074c9ddb383af6c753a31] | committer: David Fuhrmann

macosx: Remove unused write-only variable

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

 modules/gui/macosx/VLCControlsBarCommon.m | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/gui/macosx/VLCControlsBarCommon.m b/modules/gui/macosx/VLCControlsBarCommon.m
index ce18385d83..a280416777 100644
--- a/modules/gui/macosx/VLCControlsBarCommon.m
+++ b/modules/gui/macosx/VLCControlsBarCommon.m
@@ -326,7 +326,6 @@
     bool b_plmul = false;
     bool b_seekable = false;
     bool b_chapters = false;
-    bool b_buffering = false;
 
     playlist_t * p_playlist = pl_Get(getIntf());
 
@@ -337,10 +336,6 @@
     input_thread_t * p_input = playlist_CurrentInput(p_playlist);
 
     if (p_input) {
-        input_state_e inputState = input_GetState(p_input);
-        if (inputState == INIT_S || inputState == OPENING_S)
-            b_buffering = YES;
-
         /* seekable streams */
         b_seekable = var_GetBool(p_input, "can-seek");
 



More information about the vlc-commits mailing list