[vlc-commits] directory: remove redundant cast

Rémi Denis-Courmont git at videolan.org
Wed Apr 19 19:49:45 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 19 20:35:03 2017 +0300| [d874070685b7261f13c11a031798497b76f3e8ae] | committer: Rémi Denis-Courmont

directory: remove redundant cast

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

 modules/demux/directory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/directory.c b/modules/demux/directory.c
index 65e19e2527..ffc87b0fd6 100644
--- a/modules/demux/directory.c
+++ b/modules/demux/directory.c
@@ -53,7 +53,7 @@ static int Control(demux_t *demux, int query, va_list args)
     {
         case DEMUX_IS_PLAYLIST:
         {
-            bool *pb_bool = (bool*)va_arg( args, bool * );
+            bool *pb_bool = va_arg( args, bool * );
             *pb_bool = true;
             return VLC_SUCCESS;
         }



More information about the vlc-commits mailing list