diff options
author | Eric Liu <ioeric@google.com> | 2018-02-06 15:27:43 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2018-02-06 15:27:43 +0000 |
commit | c42d1431f6a6acca797e11939700070cd42662da (patch) | |
tree | fe61637e3ebcc8b75634615ec224c251dacd8dfa /clang-tools-extra/clangd/JSONRPCDispatcher.cpp | |
parent | 7d92b7e23a33274f9e2f2f0a4d357305940c5556 (diff) | |
download | bcm5719-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.cpp | 1 |
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())); |