From 070a43989f3e263e8a4511437ea2414f8780e786 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 1 Oct 2018 09:47:45 -0700 Subject: [PATCH] Mark a null variable const in builtin_echo --- src/builtin_echo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtin_echo.cpp b/src/builtin_echo.cpp index c59a5fcfa..74d6db059 100644 --- a/src/builtin_echo.cpp +++ b/src/builtin_echo.cpp @@ -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) {