From 99e2745636b74efadfe59240488f93abfb36a895 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Fri, 19 Aug 2016 11:57:33 +0100 Subject: [PATCH] rawvideoparse: remove unused assignment Value in last_plane will be overwritten before used, remove unused asignment. Fixes commit 91cf5ac69f9c99fe41d60f42b4174915dd135e7b CID 1371462 --- gst/rawparse/gstrawvideoparse.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/rawparse/gstrawvideoparse.c b/gst/rawparse/gstrawvideoparse.c index 20f3dcf8b0..7e3d2efee6 100644 --- a/gst/rawparse/gstrawvideoparse.c +++ b/gst/rawparse/gstrawvideoparse.c @@ -1176,7 +1176,6 @@ gst_raw_video_parse_update_info (GstRawVideoParseConfig * config) for (i = 0; i < n_planes; ++i) { gsize plane_offset = GST_VIDEO_INFO_PLANE_OFFSET (info, i); if (plane_offset >= last_plane_offset) { - last_plane = i; last_plane_offset = plane_offset; } }