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
This commit is contained in:
Víctor Manuel Jáquez Leal 2018-02-19 11:57:29 +01:00
parent 14c511ae62
commit b7e8198211

View file

@ -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;