From 5f278c7310e4cf3825d3c097c165154cf9a39ba8 Mon Sep 17 00:00:00 2001 From: baiye Date: Fri, 20 Dec 2024 18:06:13 +0800 Subject: [PATCH] Remove unnecessary parameters --- examples/c_examples/1.c_enumerate/enumerate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/c_examples/1.c_enumerate/enumerate.c b/examples/c_examples/1.c_enumerate/enumerate.c index d63b8aa3..ea8db88b 100644 --- a/examples/c_examples/1.c_enumerate/enumerate.c +++ b/examples/c_examples/1.c_enumerate/enumerate.c @@ -21,7 +21,7 @@ void check_ob_error(ob_error **err) { int select_index(const char *prompt, int min_value, int max_value) { // todo: to support select index > 9 int value = 0; - printf("\n%s (Input device index or \'q\' to exit program): ", prompt, min_value, max_value); + printf("\n%s (Input device index or \'q\' to exit program): ", prompt); while(true) { char input; int ret = scanf("%c", &input);