sdpmessage: Remove dead assignment

p is overridden before being used (as the for() loop iterator)
This commit is contained in:
Edward Hervey 2018-12-17 09:07:26 +01:00 committed by Edward Hervey
parent f4c9267265
commit 66ad2c3d40

View file

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