[clangd] Remove dead variable. NFC

This commit is contained in:
Sam McCall 2020-09-30 23:19:08 +02:00
parent 0c3c8f4ae6
commit 85fc5bf341
1 changed files with 0 additions and 1 deletions

View File

@ -111,7 +111,6 @@ bool shouldEscape(unsigned char C) {
/// - Reserved characters always escaped with exceptions like '/'.
/// - All other characters are escaped.
void percentEncode(llvm::StringRef Content, std::string &Out) {
std::string Result;
for (unsigned char C : Content)
if (shouldEscape(C)) {
Out.push_back('%');