[vlc-commits] win32: remove xstrdup macro.
Felix Abecassis
git at videolan.org
Fri Nov 29 12:07:38 CET 2013
vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | 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 <jb at videolan.org>
> 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)
{
More information about the vlc-commits
mailing list