mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:54:04 +08:00
Silence warning about unused variable
This commit is contained in:
parent
9b9cfc207f
commit
e2df29447f
|
@ -190,6 +190,7 @@ static int parse_cmd_opts(set_cmd_opts_t &opts, int *optind, //!OCLINT(high ncs
|
|||
|
||||
static int validate_cmd_opts(const wchar_t *cmd, const set_cmd_opts_t &opts, int argc,
|
||||
const wchar_t *argv[], parser_t &parser, io_streams_t &streams) {
|
||||
UNUSED(argv);
|
||||
// Can't query and erase or list.
|
||||
if (opts.query && (opts.erase || opts.list)) {
|
||||
streams.err.append_format(BUILTIN_ERR_COMBO, cmd);
|
||||
|
|
Loading…
Reference in New Issue
Block a user