From 6f4bb8850b7c2a326f6c438700e5099ff4600805 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 16 Feb 2016 17:53:10 -0300 Subject: [PATCH] registrychunks: remove unused macro macro was added in 2011 and isn't used anymore --- gst/gstregistrychunks.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gst/gstregistrychunks.c b/gst/gstregistrychunks.c index 7712fcf..48db8b8 100644 --- a/gst/gstregistrychunks.c +++ b/gst/gstregistrychunks.c @@ -209,16 +209,6 @@ gst_registry_chunks_save_pad_template (GList ** list, return TRUE; } -#define VALIDATE_UTF8(__details, __entry) \ -G_STMT_START { \ - if (!g_utf8_validate (__details->__entry, -1, NULL)) { \ - g_warning ("Invalid UTF-8 in " G_STRINGIFY (__entry) ": %s", \ - __details->__entry); \ - g_free (__details->__entry); \ - __details->__entry = g_strdup ("[ERROR: invalid UTF-8]"); \ - } \ -} G_STMT_END - /* * gst_registry_chunks_save_feature: * -- 2.7.4