From 75e83cac29e717fabff23712b181925f19f623fe Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Wed, 20 Feb 2019 14:48:28 -0800 Subject: [PATCH] pwd short_options to be const --- src/builtin_pwd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtin_pwd.cpp b/src/builtin_pwd.cpp index 1dce15da3..ca668b0ea 100644 --- a/src/builtin_pwd.cpp +++ b/src/builtin_pwd.cpp @@ -13,7 +13,7 @@ #include "wutil.h" // IWYU pragma: keep /// The pwd builtin. Respect -P to resolve symbolic links. Respect -L to not do that (the default). -static const wchar_t *short_options = L"LPh"; +static const wchar_t * const short_options = L"LPh"; static const struct woption long_options[] = {{L"help", no_argument, NULL, 'h'}, {NULL, 0, NULL, 0}}; int builtin_pwd(parser_t &parser, io_streams_t &streams, wchar_t **argv) {