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:
f4c9267
)
sdpmessage: Remove dead assignment
author
Edward Hervey
<edward@centricular.com>
Mon, 17 Dec 2018 08:07:26 +0000
(09:07 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 17 Dec 2018 11:21:01 +0000
(12:21 +0100)
p is overridden before being used (as the for() loop iterator)
gst-libs/gst/sdp/gstsdpmessage.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/sdp/gstsdpmessage.c
b/gst-libs/gst/sdp/gstsdpmessage.c
index 05a33b13de731575c08efc8c3074c7e73ad54516..3be9df419ff8b98e6d5e9832087983254a258863 100644
(file)
--- a/
gst-libs/gst/sdp/gstsdpmessage.c
+++ b/
gst-libs/gst/sdp/gstsdpmessage.c
@@
-748,7
+748,7
@@
gst_sdp_message_as_uri (const gchar * scheme, const GstSDPMessage * msg)
g_return_val_if_fail (scheme != NULL, NULL);
g_return_val_if_fail (msg != NULL, NULL);
-
p =
serialized = gst_sdp_message_as_text (msg);
+ serialized = gst_sdp_message_as_text (msg);
lines = g_string_new ("");
g_string_append_printf (lines, "%s:///#", scheme);