Mark a null variable const in builtin_echo

This commit is contained in:
ridiculousfish 2018-10-01 09:47:45 -07:00
parent a722a4b967
commit 070a43989f

View File

@ -18,7 +18,7 @@ struct echo_cmd_opts_t {
bool interpret_special_chars = false;
};
static const wchar_t *const short_options = L"+:Eens";
static const struct woption *long_options = NULL;
static const struct woption * const long_options = NULL;
static int parse_cmd_opts(echo_cmd_opts_t &opts, int *optind, int argc, wchar_t **argv,
parser_t &parser, io_streams_t &streams) {