mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
Remove NOT_A_WCHAR
It's now unused.
This commit is contained in:
parent
8747018cbc
commit
06269ed67d
1 changed files with 1 additions and 4 deletions
|
@ -62,8 +62,6 @@
|
|||
#include "wildcard.h"
|
||||
#include "wutil.h" // IWYU pragma: keep
|
||||
|
||||
constexpr wint_t NOT_A_WCHAR = static_cast<wint_t>(WEOF);
|
||||
|
||||
struct termios shell_modes;
|
||||
|
||||
/// This allows us to notice when we've forked.
|
||||
|
@ -1550,8 +1548,7 @@ static bool unescape_string_internal(const wchar_t *const input, const size_t in
|
|||
if (unescape_special) {
|
||||
brace_count++;
|
||||
to_append_or_none = BRACE_BEGIN;
|
||||
// We need to store where the brace *ends up* in the output because of
|
||||
// NOT_A_WCHAR.
|
||||
// We need to store where the brace *ends up* in the output.
|
||||
braces.push_back(result.size());
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue