mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-31 23:28:45 +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 "wildcard.h"
|
||||||
#include "wutil.h" // IWYU pragma: keep
|
#include "wutil.h" // IWYU pragma: keep
|
||||||
|
|
||||||
constexpr wint_t NOT_A_WCHAR = static_cast<wint_t>(WEOF);
|
|
||||||
|
|
||||||
struct termios shell_modes;
|
struct termios shell_modes;
|
||||||
|
|
||||||
/// This allows us to notice when we've forked.
|
/// 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) {
|
if (unescape_special) {
|
||||||
brace_count++;
|
brace_count++;
|
||||||
to_append_or_none = BRACE_BEGIN;
|
to_append_or_none = BRACE_BEGIN;
|
||||||
// We need to store where the brace *ends up* in the output because of
|
// We need to store where the brace *ends up* in the output.
|
||||||
// NOT_A_WCHAR.
|
|
||||||
braces.push_back(result.size());
|
braces.push_back(result.size());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue