vlc | branch: master | Felix Abecassis <[email protected]> | Fri Nov 29 11:03:54 2013 +0100| [de740a6575b372b45899215ec54938a037ef2cef] | committer: Jean-Baptiste Kempf
win32: remove xstrdup macro. Unnecessary (defined in vlc_common.h) and omitting the second operand is a GNU C extension. Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de740a6575b372b45899215ec54938a037ef2cef --- src/win32/thread.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/win32/thread.c b/src/win32/thread.c index 4388274..3b57531 100644 --- a/src/win32/thread.c +++ b/src/win32/thread.c @@ -866,8 +866,6 @@ static void SelectClockSource (vlc_object_t *obj) free (str); } -#define xstrdup(str) (strdup(str) ?: (abort(), NULL)) - size_t EnumClockSource (vlc_object_t *obj, const char *var, char ***vp, char ***np) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
