From 70aaec0ac49f2894a9093a442e2a8c684c184a95 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 3 Jul 2025 10:06:41 -0400 Subject: [PATCH] spa: v4l2: Drop unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes warning: [186/359] Compiling C object spa/plugins/v4l2/libspa-v4l2.so.p/v4l2-source.c.o In file included from ../spa/plugins/v4l2/v4l2-source.c:164: ../spa/plugins/v4l2/v4l2-utils.c: In function ‘spa_v4l2_enum_format’: ../spa/plugins/v4l2/v4l2-utils.c:1103:22: warning: unused variable ‘drop_next’ [-Wunused-variable] 1103 | bool drop_next = false; | ^~~~~~~~~ --- spa/plugins/v4l2/v4l2-utils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/spa/plugins/v4l2/v4l2-utils.c b/spa/plugins/v4l2/v4l2-utils.c index 7053fdf69..2c8a88443 100644 --- a/spa/plugins/v4l2/v4l2-utils.c +++ b/spa/plugins/v4l2/v4l2-utils.c @@ -1100,7 +1100,6 @@ do_frminterval_filter: if (with_modifier && info->media_subtype == SPA_MEDIA_SUBTYPE_raw) { struct spa_pod_object *op = (struct spa_pod_object *) result.param; const struct spa_pod_prop *p; - bool drop_next = false; spa_pod_builder_push_object(&b.b, &f[0], op->body.type, op->body.id);