aboutsummaryrefslogtreecommitdiffstats
path: root/src/actionparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionparser.c')
-rw-r--r--src/actionparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actionparser.c b/src/actionparser.c
index 6c3cb77..55fe79c 100644
--- a/src/actionparser.c
+++ b/src/actionparser.c
@@ -55,7 +55,7 @@ int next_token() {
/* copy the option from the list
* to the UserOpt struct */
-void get_opt(int position, UserOpt *opt) {
+void get_opt(UserOpt *opt) {
/* get arg */
next_token();
list_add(opt->args, token);
@@ -63,7 +63,7 @@ void get_opt(int position, UserOpt *opt) {
void fill_args_list(int arg_num, UserOpt *opt) {
for (int i = 0; i < arg_num; i++) {
- get_opt(i, opt);
+ get_opt(opt);
}
}