mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
Make some variables local which did not need to be static
This commit is contained in:
parent
fb4967945a
commit
23224f71ce
1 changed files with 2 additions and 2 deletions
|
@ -474,9 +474,9 @@ rgb_color_t parse_color(const env_var_t &var, bool is_background) {
|
|||
|
||||
std::vector<rgb_color_t> candidates;
|
||||
|
||||
static const wchar_t *prefix = L"--background=";
|
||||
const wchar_t *prefix = L"--background=";
|
||||
// wcslen is not available as constexpr
|
||||
static auto prefix_len = wcslen(prefix);
|
||||
size_t prefix_len = wcslen(prefix);
|
||||
|
||||
wcstring color_name;
|
||||
for (const wcstring &next : var.as_list()) {
|
||||
|
|
Loading…
Reference in a new issue