From c42d1431f6a6acca797e11939700070cd42662da Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Tue, 6 Feb 2018 15:27:43 +0000 Subject: [PATCH] [clangd] Remove unused variable. NFC llvm-svn: 324354 --- clang-tools-extra/clangd/JSONRPCDispatcher.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/clang-tools-extra/clangd/JSONRPCDispatcher.cpp b/clang-tools-extra/clangd/JSONRPCDispatcher.cpp index 4a7250256caa..b15f7d811830 100644 --- a/clang-tools-extra/clangd/JSONRPCDispatcher.cpp +++ b/clang-tools-extra/clangd/JSONRPCDispatcher.cpp @@ -244,7 +244,6 @@ static llvm::Optional 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()));