Found with performance-unnecessary-value-param Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx> --- utils/rds-ctl/rds-ctl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp index f58c1fa2..cabfa538 100644 --- a/utils/rds-ctl/rds-ctl.cpp +++ b/utils/rds-ctl/rds-ctl.cpp @@ -299,7 +299,7 @@ static bool is_radio_dev(const char *name) return !memcmp(name, "radio", 5); } -static void print_devices(dev_vec files) +static void print_devices(const dev_vec& files) { dev_map cards; int fd = -1; -- 2.26.2