use the UNUSED(); pattern for the prev change

This commit is contained in:
Kurtis Rader 2017-07-09 19:55:04 -07:00
parent a4eec25447
commit 1e6bd2d968

View file

@ -178,7 +178,7 @@ static bool builtin_echo_parse_numeric_sequence(const wchar_t *str, size_t *cons
/// fish specific, option -s to mean "no spaces". /// fish specific, option -s to mean "no spaces".
int builtin_echo(parser_t &parser, io_streams_t &streams, wchar_t **argv) { int builtin_echo(parser_t &parser, io_streams_t &streams, wchar_t **argv) {
wchar_t *cmd = argv[0]; wchar_t *cmd = argv[0];
(void)cmd; UNUSED(cmd);
int argc = builtin_count_args(argv); int argc = builtin_count_args(argv);
echo_cmd_opts_t opts; echo_cmd_opts_t opts;
int optind; int optind;