From 06269ed67dac50edd4fc97163d5236d937dad322 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 14 Sep 2019 13:18:04 -0700 Subject: [PATCH] Remove NOT_A_WCHAR It's now unused. --- src/common.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common.cpp b/src/common.cpp index 87deb17ef..ab211f731 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -62,8 +62,6 @@ #include "wildcard.h" #include "wutil.h" // IWYU pragma: keep -constexpr wint_t NOT_A_WCHAR = static_cast(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;