Skip to content

Commit

Permalink
Remove unnecessary parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
baiye committed Dec 20, 2024
1 parent 3c7613d commit 5f278c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/c_examples/1.c_enumerate/enumerate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5f278c7

Please sign in to comment.