projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c3c8f4
)
[clangd] Remove dead variable. NFC
author
Sam McCall
<sam.mccall@gmail.com>
Wed, 30 Sep 2020 21:19:08 +0000
(23:19 +0200)
committer
Sam McCall
<sam.mccall@gmail.com>
Wed, 30 Sep 2020 21:19:15 +0000
(23:19 +0200)
clang-tools-extra/clangd/URI.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/URI.cpp
b/clang-tools-extra/clangd/URI.cpp
index
f9e8fdc
..
80e3a10
100644
(file)
--- 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('%');