diff options
author | Guido Cella <guido@guidocella.xyz> | 2024-01-11 10:37:17 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-02-04 15:12:02 +0000 |
commit | 484ab32a4124fe718bb1f18da689bd4082090323 (patch) | |
tree | b0e81850c98711b30b4c89771e30deff82627139 | |
parent | e2284fba180fe33f399835f1d1afdb7871ebef4c (diff) | |
download | mpv-484ab32a4124fe718bb1f18da689bd4082090323.tar.bz2 mpv-484ab32a4124fe718bb1f18da689bd4082090323.tar.xz |
input: remove unused parameter from parse_config_file
This is unused since fb4d26e769.
-rw-r--r-- | input/input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/input/input.c b/input/input.c index ecac7b393c..77661feef3 100644 --- a/input/input.c +++ b/input/input.c @@ -1276,7 +1276,7 @@ static int parse_config(struct input_ctx *ictx, bool builtin, bstr data, return n_binds; } -static int parse_config_file(struct input_ctx *ictx, char *file, bool warn) +static int parse_config_file(struct input_ctx *ictx, char *file) { int r = 0; void *tmp = talloc_new(NULL); @@ -1376,13 +1376,13 @@ void mp_input_load_config(struct input_ctx *ictx) bool config_ok = false; if (ictx->opts->config_file && ictx->opts->config_file[0]) - config_ok = parse_config_file(ictx, ictx->opts->config_file, true); + config_ok = parse_config_file(ictx, ictx->opts->config_file); if (!config_ok) { // Try global conf dir void *tmp = talloc_new(NULL); char **files = mp_find_all_config_files(tmp, ictx->global, "input.conf"); for (int n = 0; files && files[n]; n++) - parse_config_file(ictx, files[n], false); + parse_config_file(ictx, files[n]); talloc_free(tmp); } |