From e2df29447fa8cf04cdb6356dfd1737c29d582c83 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Thu, 14 Mar 2024 17:04:56 -0500 Subject: [PATCH] Silence warning about unused variable --- src/builtins/set.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/builtins/set.cpp b/src/builtins/set.cpp index 4257c90a5..bd47b177d 100644 --- a/src/builtins/set.cpp +++ b/src/builtins/set.cpp @@ -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);