Merge branch 'ges-remove-unused-supressions' into 'main'

ges: remove SUPRESS_UNUSED_WARNING

See merge request gstreamer/gstreamer!5118
This commit is contained in:
Alexander Slobodeniuk 2024-05-18 02:15:10 +00:00
commit 2cffad84c3
5 changed files with 0 additions and 16 deletions

View file

@ -111,8 +111,6 @@ GstDebugCategory * _ges_debug (void);
************************/
#define GES_PARAM_NO_SERIALIZATION (1 << (G_PARAM_USER_SHIFT + 1))
#define SUPRESS_UNUSED_WARNING(a) (void)a
G_GNUC_INTERNAL void
ges_timeline_freeze_auto_transitions (GESTimeline * timeline, gboolean freeze);

View file

@ -353,7 +353,6 @@ ges_test_clip_class_init (GESTestClipClass * klass)
static void
ges_test_clip_init (GESTestClip * self)
{
SUPRESS_UNUSED_WARNING (GES_IS_TEST_CLIP_ASSET);
self->priv = ges_test_clip_get_instance_private (self);
self->priv->freq = 0;

View file

@ -29,8 +29,6 @@
G_BEGIN_DECLS
#define SUPRESS_UNUSED_WARNING(a) (void)a
G_DECLARE_DERIVABLE_TYPE(GESBaseBin, ges_base_bin, GES, BASE_BIN, GstBin)
struct _GESBaseBinClass
{

View file

@ -619,12 +619,6 @@ ges_demux_sink_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
static void
ges_demux_init (GESDemux * self)
{
SUPRESS_UNUSED_WARNING (GES_DEMUX);
SUPRESS_UNUSED_WARNING (GES_IS_DEMUX);
#if defined(g_autoptr)
SUPRESS_UNUSED_WARNING (glib_autoptr_cleanup_GESDemux);
#endif
self->sinkpad =
gst_pad_new_from_template (gst_element_get_pad_template (GST_ELEMENT
(self), "sink"), "sink");

View file

@ -160,9 +160,4 @@ ges_src_class_init (GESSrcClass * self_class)
static void
ges_src_init (GESSrc * self)
{
SUPRESS_UNUSED_WARNING (GES_SRC);
SUPRESS_UNUSED_WARNING (GES_IS_SRC);
#if defined(g_autoptr)
SUPRESS_UNUSED_WARNING (glib_autoptr_cleanup_GESSrc);
#endif
}