[vlc-commits] hotkeys: remove duplicated variable

Rémi Denis-Courmont git at videolan.org
Sun Jul 23 16:53:27 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 16:42:40 2017 +0300| [3b2f51584437402152f8c48c7cdb49b66544fb0f] | committer: Rémi Denis-Courmont

hotkeys: remove duplicated variable

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

 modules/control/hotkeys.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 1666e5e597..fc26268795 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -448,11 +448,8 @@ static int PutAction( intf_thread_t *p_intf, input_thread_t *p_input,
             SetBookmark( p_intf, i_action - ACTIONID_SET_BOOKMARK1 + 1 );
             break;
         case ACTIONID_PLAY_CLEAR:
-        {
-            playlist_t *p_playlist = pl_Get( p_intf );
             playlist_Clear( p_playlist, pl_Unlocked );
             break;
-        }
         case ACTIONID_VOL_UP:
         {
             float vol;



More information about the vlc-commits mailing list