summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/clangd/JSONRPCDispatcher.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/JSONRPCDispatcher.cpp b/clang-tools-extra/clangd/JSONRPCDispatcher.cpp
index 4a7250256ca..b15f7d81183 100644
--- a/clang-tools-extra/clangd/JSONRPCDispatcher.cpp
+++ b/clang-tools-extra/clangd/JSONRPCDispatcher.cpp
@@ -244,7 +244,6 @@ static llvm::Optional<std::string> readStandardMessage(std::istream &In,
if (ContentLength > 0) {
std::string JSON(ContentLength, '\0');
- llvm::StringRef JSONRef;
In.read(&JSON[0], ContentLength);
Out.mirrorInput(StringRef(JSON.data(), In.gcount()));
OpenPOWER on IntegriCloud