From 6a2e39eefa14ade65008305c7dbc492b9e94d96a Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 14 Apr 2014 07:56:16 +0200 Subject: [PATCH] wayland: Remove dead assignment We set it just after variable declaration CID #1197709 --- ext/wayland/gstwaylandsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index cabf310a7c..e286f32bff 100644 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -387,7 +387,7 @@ gst_wayland_sink_format_from_caps (uint32_t * wl_format, GstCaps * caps) static gboolean gst_wayland_sink_set_caps (GstBaseSink * bsink, GstCaps * caps) { - GstWaylandSink *sink = GST_WAYLAND_SINK (bsink); + GstWaylandSink *sink; GstBufferPool *newpool, *oldpool; GstVideoInfo info; GstStructure *structure;