[clangd] Remove unused variable. NFC
authorEric Liu <ioeric@google.com>
Tue, 6 Feb 2018 15:27:43 +0000 (15:27 +0000)
committerEric Liu <ioeric@google.com>
Tue, 6 Feb 2018 15:27:43 +0000 (15:27 +0000)
llvm-svn: 324354

clang-tools-extra/clangd/JSONRPCDispatcher.cpp

index 4a72502..b15f7d8 100644 (file)
@@ -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()));