This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: rds-ctl.cpp: fix 'set but not used' warning Author: Hans Verkuil <[email protected]> Date: Mon Sep 28 09:58:16 2026 +0200 The 'counter' variable was never used, drop it. Signed-off-by: Hans Verkuil <[email protected]> utils/rds-ctl/rds-ctl.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=91dda32e4cc9e921fba1eb22aec0a7acfa70de7d diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp index de4ac694bacf..3b18962583f1 100644 --- a/utils/rds-ctl/rds-ctl.cpp +++ b/utils/rds-ctl/rds-ctl.cpp @@ -449,10 +449,8 @@ static void print_rds_af(const struct v4l2_rds_af_set *af_set) static void print_rds_eon(const struct v4l2_rds_eon_set *eon_set) { - int counter = 0; - printf("\n\nEnhanced Other Network information: %u channels", eon_set->size); - for (int i = 0; i < eon_set->size; i++, counter++) { + for (int i = 0; i < eon_set->size; i++) { if (eon_set->eon[i].valid_fields & V4L2_RDS_PI) printf("\nPI(ON %02i) = %04x", i, eon_set->eon[i].pi); if (eon_set->eon[i].valid_fields & V4L2_RDS_PS) _______________________________________________ linuxtv-commits mailing list -- [email protected] To unsubscribe send an email to [email protected]
