From 85fc5bf341395171e67490061f6fbc76b297b78d Mon Sep 17 00:00:00 2001 From: Sam McCall Date: Wed, 30 Sep 2020 23:19:08 +0200 Subject: [PATCH] [clangd] Remove dead variable. NFC --- clang-tools-extra/clangd/URI.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/clang-tools-extra/clangd/URI.cpp b/clang-tools-extra/clangd/URI.cpp index f9e8fdc..80e3a10 100644 --- a/clang-tools-extra/clangd/URI.cpp +++ b/clang-tools-extra/clangd/URI.cpp @@ -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('%'); -- 2.7.4