rtsp-server-media-factory: silence some maybe-unused warnings

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
Matthew Waters 2024-11-13 16:22:00 +11:00
parent 605cff0642
commit 7b526775b4

View file

@ -1557,7 +1557,7 @@ gst_rtsp_media_factory_construct (GstRTSPMediaFactory * factory,
{ {
GstRTSPMediaFactoryPrivate *priv; GstRTSPMediaFactoryPrivate *priv;
gchar *key; gchar *key;
GstRTSPMedia *media; GstRTSPMedia *media = NULL;
GstRTSPMediaFactoryClass *klass; GstRTSPMediaFactoryClass *klass;
g_return_val_if_fail (GST_IS_RTSP_MEDIA_FACTORY (factory), NULL); g_return_val_if_fail (GST_IS_RTSP_MEDIA_FACTORY (factory), NULL);