From 66ad2c3d40a0d4d7b4c617f9f676bec53caac003 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 17 Dec 2018 09:07:26 +0100 Subject: [PATCH] sdpmessage: Remove dead assignment p is overridden before being used (as the for() loop iterator) --- gst-libs/gst/sdp/gstsdpmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/sdp/gstsdpmessage.c b/gst-libs/gst/sdp/gstsdpmessage.c index 05a33b13d..3be9df419 100644 --- 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); -- 2.34.1