Skip to content

Commit 85fc5bf

Browse files
committed
[clangd] Remove dead variable. NFC
1 parent 0c3c8f4 commit 85fc5bf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang-tools-extra/clangd/URI.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ bool shouldEscape(unsigned char C) {
111111
/// - Reserved characters always escaped with exceptions like '/'.
112112
/// - All other characters are escaped.
113113
void percentEncode(llvm::StringRef Content, std::string &Out) {
114-
std::string Result;
115114
for (unsigned char C : Content)
116115
if (shouldEscape(C)) {
117116
Out.push_back('%');

0 commit comments

Comments
 (0)