registrychunks: remove unused macro
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 16 Feb 2016 20:53:10 +0000 (17:53 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 16 Feb 2016 20:53:10 +0000 (17:53 -0300)
macro was added in 2011 and isn't used anymore

gst/gstregistrychunks.c

index 7712fcf60e3dcaa286a087ddeb31808f63976f5a..48db8b80b1be8c394e77c6bccfaa3b301d0c6d0c 100644 (file)
@@ -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:
  *