pidgin/pidgin

Remove unused variable (review pull request #632)
port-changes-from-branch-2.x.y-to-default
16 months ago, Fabrice Bellet
4f159034c598
Remove unused variable (review pull request #632)
--- a/libpurple/mediamanager.c Thu Dec 19 14:25:49 2019 +0100
+++ b/libpurple/mediamanager.c Fri Jan 31 16:28:56 2020 +0100
@@ -648,7 +648,6 @@
GstElement *parent = GST_ELEMENT_PARENT(pad);
GstIterator *iter;
GValue tmp = G_VALUE_INIT;
- GstPad *remaining_pad;
GstIteratorResult result;
gst_element_release_request_pad(parent, pad);
@@ -662,7 +661,6 @@
gst_element_set_state(parent, GST_STATE_NULL);
gst_bin_remove(GST_BIN(GST_ELEMENT_PARENT(parent)), parent);
} else if (result == GST_ITERATOR_OK) {
- remaining_pad = g_value_get_object(&tmp);
g_value_reset(&tmp);
}