From: Edward Hervey Date: Mon, 17 Dec 2018 08:07:26 +0000 (+0100) Subject: sdpmessage: Remove dead assignment X-Git-Tag: 1.19.3~511^2~1319 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66ad2c3d40a0d4d7b4c617f9f676bec53caac003;p=platform%2Fupstream%2Fgstreamer.git sdpmessage: Remove dead assignment p is overridden before being used (as the for() loop iterator) --- diff --git a/gst-libs/gst/sdp/gstsdpmessage.c b/gst-libs/gst/sdp/gstsdpmessage.c index 05a33b13de..3be9df419f 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);