[vlc-commits] oldrc: avoid shadowing
Rémi Denis-Courmont
git at videolan.org
Sun Jul 23 16:53:31 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 16:45:19 2017 +0300| [1ce92ecf728e1c1081e3ba6849251be4e024c91a] | committer: Rémi Denis-Courmont
oldrc: avoid shadowing
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ce92ecf728e1c1081e3ba6849251be4e024c91a
---
modules/control/oldrc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/control/oldrc.c b/modules/control/oldrc.c
index bed4d7d472..b09a11c33d 100644
--- a/modules/control/oldrc.c
+++ b/modules/control/oldrc.c
@@ -1335,7 +1335,7 @@ static int Playlist( vlc_object_t *p_this, char const *psz_cmd,
}
else if( !strcmp( psz_cmd, "status" ) )
{
- input_thread_t * p_input = playlist_CurrentInput( p_playlist );
+ p_input = playlist_CurrentInput( p_playlist );
if( p_input )
{
/* Replay the current state of the system. */
More information about the vlc-commits
mailing list