From b7e819821184d5a07f5f52514a2fa8b36fb48ed7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Mon, 19 Feb 2018 11:57:29 +0100 Subject: [PATCH] rtp-server: remove redefined variable res is a boolean variable which is defined in the function scope and redefined, with no reason, in the loop scope. This patch removes the redefinition. https://bugzilla.gnome.org/show_bug.cgi?id=793592 --- gst/rtsp-server/rtsp-onvif-media.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/rtsp-server/rtsp-onvif-media.c b/gst/rtsp-server/rtsp-onvif-media.c index 261010d..ecafa7c 100644 --- a/gst/rtsp-server/rtsp-onvif-media.c +++ b/gst/rtsp-server/rtsp-onvif-media.c @@ -79,7 +79,6 @@ gst_rtsp_onvif_media_setup_sdp (GstRTSPMedia * media, GstSDPMessage * sdp, GstCaps *caps = NULL; GstRTSPProfile profiles; guint mask; - gboolean res; GstPad *sinkpad = NULL; guint n_caps, j; -- 2.7.4