[clang-tools-extra] r324354 - [clangd] Remove unused variable. NFC

Eric Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 07:27:43 PST 2018


Author: ioeric
Date: Tue Feb  6 07:27:43 2018
New Revision: 324354

URL: http://llvm.org/viewvc/llvm-project?rev=324354&view=rev
Log:
[clangd] Remove unused variable. NFC

Modified:
    clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp

Modified: clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp?rev=324354&r1=324353&r2=324354&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp (original)
+++ clang-tools-extra/trunk/clangd/JSONRPCDispatcher.cpp Tue Feb  6 07:27:43 2018
@@ -244,7 +244,6 @@ static llvm::Optional<std::string> readS
 
   if (ContentLength > 0) {
     std::string JSON(ContentLength, '\0');
-    llvm::StringRef JSONRef;
     In.read(&JSON[0], ContentLength);
     Out.mirrorInput(StringRef(JSON.data(), In.gcount()));
 




More information about the cfe-commits mailing list