rtsp-client: fix unused-but-set-variable compiler warning

rtsp-client.c:1260:21: error: variable 'protocols' set but not used
This commit is contained in:
Tim-Philipp Müller 2012-11-17 00:03:42 +00:00
parent 26ff5fc073
commit 290968eb8c

View file

@ -1257,7 +1257,6 @@ create_sdp (GstRTSPClient * client, GstRTSPMedia * media)
GstSDPMessage *sdp;
GstSDPInfo info;
const gchar *proto;
GstRTSPLowerTrans protocols;
gst_sdp_message_new (&sdp);
@ -1280,7 +1279,6 @@ create_sdp (GstRTSPClient * client, GstRTSPMedia * media)
gst_sdp_message_add_attribute (sdp, "control", "*");
info.server_proto = proto;
protocols = gst_rtsp_media_get_protocols (media);
info.server_ip = g_strdup (client->server_ip);
/* create an SDP for the media object */