mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-31 23:28:45 +00:00
Silence warning about unused variable
This commit is contained in:
parent
9b9cfc207f
commit
e2df29447f
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
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) {
|
const wchar_t *argv[], parser_t &parser, io_streams_t &streams) {
|
||||||
|
UNUSED(argv);
|
||||||
// Can't query and erase or list.
|
// Can't query and erase or list.
|
||||||
if (opts.query && (opts.erase || opts.list)) {
|
if (opts.query && (opts.erase || opts.list)) {
|
||||||
streams.err.append_format(BUILTIN_ERR_COMBO, cmd);
|
streams.err.append_format(BUILTIN_ERR_COMBO, cmd);
|
||||||
|
|
Loading…
Reference in a new issue