From 7b526775b4d125b4b5e6bc8d96e36b6eed040ab7 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 13 Nov 2024 16:22:00 +1100 Subject: [PATCH] rtsp-server-media-factory: silence some maybe-unused warnings Part-of: --- .../gst-rtsp-server/gst/rtsp-server/rtsp-media-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-media-factory.c b/subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-media-factory.c index ac432924d1..779e37da9f 100644 --- a/subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-media-factory.c +++ b/subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-media-factory.c @@ -1557,7 +1557,7 @@ gst_rtsp_media_factory_construct (GstRTSPMediaFactory * factory, { GstRTSPMediaFactoryPrivate *priv; gchar *key; - GstRTSPMedia *media; + GstRTSPMedia *media = NULL; GstRTSPMediaFactoryClass *klass; g_return_val_if_fail (GST_IS_RTSP_MEDIA_FACTORY (factory), NULL);