rtp-server: remove redefined variable
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 19 Feb 2018 10:57:29 +0000 (11:57 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 19 Feb 2018 11:00:58 +0000 (12:00 +0100)
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

index 261010d..ecafa7c 100644 (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;