projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26ff5fc
)
rtsp-client: fix unused-but-set-variable compiler warning
author
Tim-Philipp Müller
<tim@centricular.net>
Sat, 17 Nov 2012 00:03:42 +0000
(
00:03
+0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sat, 17 Nov 2012 00:03:42 +0000
(
00:03
+0000)
rtsp-client.c:1260:21: error: variable 'protocols' set but not used
gst/rtsp-server/rtsp-client.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client.c
b/gst/rtsp-server/rtsp-client.c
index
f353a79
..
9389160
100644
(file)
--- a/
gst/rtsp-server/rtsp-client.c
+++ b/
gst/rtsp-server/rtsp-client.c
@@
-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 */