vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Jul 11 22:00:51 2019 +0300| [d87d581af77a80ff0ae34415deec868ee9dd328b] | committer: Rémi Denis-Courmont
lib: remove dead code, fix warning > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d87d581af77a80ff0ae34415deec868ee9dd328b --- lib/video.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lib/video.c b/lib/video.c index 1446cbeab5..6f8e6d7f59 100644 --- a/lib/video.c +++ b/lib/video.c @@ -749,21 +749,6 @@ get_float( libvlc_media_player_t *p_mi, const char *restrict name, return var_GetFloat( p_mi, opt->name ); } -static char * -get_string( libvlc_media_player_t *p_mi, const char *restrict name, - const opt_t *restrict opt ) -{ - if( !opt ) return NULL; - - if( opt->type != VLC_VAR_STRING ) - { - libvlc_printerr( "Invalid argument to %s in %s", name, "get string" ); - return NULL; - } - - return var_GetString( p_mi, opt->name ); -} - static const opt_t * marq_option_bynumber(unsigned option) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
