spa: v4l2: Drop unused variable

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;
      |                      ^~~~~~~~~
This commit is contained in:
Arun Raghavan 2025-07-03 10:06:41 -04:00
parent a8b9ce2050
commit 70aaec0ac4

View file

@ -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);