[vlc-devel] [PATCH] win32: remove xstrdup macro.
Felix Abecassis
felix.abecassis at gmail.com
Fri Nov 29 11:03:54 CET 2013
Unnecessary (defined in vlc_common.h) and omitting the second operand is a GNU C extension.
---
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)
{
--
1.7.10.4
More information about the vlc-devel
mailing list