mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
read_unquoted_escape: remove dead loop condition
This was recently converted to a while-loop. However, we only loop in a specific case when (by hitting "continue") so a loop condition is not necessary. No functional change.
This commit is contained in:
parent
e7a7a58030
commit
5868b3c380
1 changed files with 1 additions and 1 deletions
|
@ -1152,7 +1152,7 @@ maybe_t<size_t> read_unquoted_escape(const wchar_t *input, wcstring *result, boo
|
|||
|
||||
// For multibyte \X sequences.
|
||||
std::string byte_buff;
|
||||
while (!errored) {
|
||||
while (true) {
|
||||
const wchar_t c = input[in_pos++];
|
||||
switch (c) {
|
||||
// A null character after a backslash is an error.
|
||||
|
|
Loading…
Reference in a new issue