[vlc-commits] input: Control: remove useless check

Thomas Guillem git at videolan.org
Mon Sep 3 13:52:58 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Sep  3 13:49:06 2018 +0200| [9b9f129808ca98040b1ffebd4a862426b7681252] | committer: Thomas Guillem

input: Control: remove useless check

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

 src/input/input.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index ebbebaa196..4c3df01407 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1844,9 +1844,6 @@ static bool Control( input_thread_t *p_input,
     bool b_force_update = false;
     vlc_value_t val;
 
-    if( !p_input )
-        return b_force_update;
-
     switch( i_type )
     {
         case INPUT_CONTROL_SET_POSITION:



More information about the vlc-commits mailing list