[llvm] r315196 - Remove unused variables. No functionality change.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 8 14:23:02 PDT 2017


Author: d0k
Date: Sun Oct  8 14:23:02 2017
New Revision: 315196

URL: http://llvm.org/viewvc/llvm-project?rev=315196&view=rev
Log:
Remove unused variables. No functionality change.

Modified:
    llvm/trunk/unittests/Support/BinaryStreamTest.cpp

Modified: llvm/trunk/unittests/Support/BinaryStreamTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/BinaryStreamTest.cpp?rev=315196&r1=315195&r2=315196&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/BinaryStreamTest.cpp (original)
+++ llvm/trunk/unittests/Support/BinaryStreamTest.cpp Sun Oct  8 14:23:02 2017
@@ -314,7 +314,6 @@ TEST_F(BinaryStreamTest, MutableBinaryBy
 
   // For every combination of input stream and output stream.
   for (auto &Stream : Streams) {
-    MutableArrayRef<uint8_t> Buffer;
     ASSERT_EQ(InputData.size(), Stream.Input->getLength());
 
     // 1. Try two reads that are supposed to work.  One from offset 0, and one
@@ -355,7 +354,6 @@ TEST_F(BinaryStreamTest, FixedStreamArra
   initializeInput(IntBytes, alignof(uint32_t));
 
   for (auto &Stream : Streams) {
-    MutableArrayRef<uint8_t> Buffer;
     ASSERT_EQ(InputData.size(), Stream.Input->getLength());
 
     FixedStreamArray<uint32_t> Array(*Stream.Input);




More information about the llvm-commits mailing list