[vlc-commits] input: Remove dead code

Hugo Beauzée-Luyssen git at videolan.org
Thu Apr 6 17:49:08 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Apr  6 17:10:00 2017 +0200| [cadd781136dc65af78495d6b744c224147b2ccff] | committer: Hugo Beauzée-Luyssen

input: Remove dead code

CID #1398385

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

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

diff --git a/src/input/item.c b/src/input/item.c
index 8cf9336..959460f 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -957,9 +957,6 @@ void input_item_SetEpg( input_item_t *p_item, const vlc_epg_t *p_update, bool b_
 
     vlc_mutex_unlock( &p_item->lock );
 
-    if( !p_epg )
-        return;
-
 #ifdef EPG_DEBUG
     char *psz_epg;
     if( asprintf( &psz_epg, "EPG %s", p_epg->psz_name ? p_epg->psz_name : "unknown" ) < 0 )



More information about the vlc-commits mailing list