mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
Remove duplicate trim()
call in parameter expansion
This commit is contained in:
parent
d385248cc8
commit
4e48b084d7
1 changed files with 0 additions and 1 deletions
|
@ -949,7 +949,6 @@ static expand_error_t expand_braces(const wcstring &instr, expand_flags_t flags,
|
||||||
whole_item.append(in, length_preceding_braces);
|
whole_item.append(in, length_preceding_braces);
|
||||||
whole_item.append(item.begin(), item.end());
|
whole_item.append(item.begin(), item.end());
|
||||||
whole_item.append(brace_end + 1);
|
whole_item.append(brace_end + 1);
|
||||||
whole_item = trim(whole_item, (const wchar_t[]) { BRACE_SPACE });
|
|
||||||
expand_braces(whole_item, flags, out, errors);
|
expand_braces(whole_item, flags, out, errors);
|
||||||
|
|
||||||
item_begin = pos + 1;
|
item_begin = pos + 1;
|
||||||
|
|
Loading…
Reference in a new issue