[vlc-commits] include: remove vain evil macro

Rémi Denis-Courmont git at videolan.org
Sun Jun 14 18:05:00 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 14 18:01:32 2015 +0300| [e2fcd5b929fb3f702615d93c2b3c2364e433074b] | committer: Rémi Denis-Courmont

include: remove vain evil macro

This confused Doxygen and hid hypothetically invalid casts.

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

 include/vlc_common.h |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index a135095..5baeb45 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -191,9 +191,6 @@ static inline void vlc_fourcc_to_char( vlc_fourcc_t fcc, char *psz_fourcc )
     memcpy( psz_fourcc, &fcc, 4 );
 }
 
-#define vlc_fourcc_to_char( a, b ) \
-        vlc_fourcc_to_char( (vlc_fourcc_t)(a), (char *)(b) )
-
 /*****************************************************************************
  * Classes declaration
  *****************************************************************************/



More information about the vlc-commits mailing list