summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/JSONRPCDispatcher.cpp
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2018-02-06 15:27:43 +0000
committerEric Liu <ioeric@google.com>2018-02-06 15:27:43 +0000
commitc42d1431f6a6acca797e11939700070cd42662da (patch)
treefe61637e3ebcc8b75634615ec224c251dacd8dfa /clang-tools-extra/clangd/JSONRPCDispatcher.cpp
parent7d92b7e23a33274f9e2f2f0a4d357305940c5556 (diff)
downloadbcm5719-llvm-c42d1431f6a6acca797e11939700070cd42662da.tar.gz
bcm5719-llvm-c42d1431f6a6acca797e11939700070cd42662da.zip
[clangd] Remove unused variable. NFC
llvm-svn: 324354
Diffstat (limited to 'clang-tools-extra/clangd/JSONRPCDispatcher.cpp')
-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