summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/MSF
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2017-10-15 05:35:02 +0000
committerVitaly Buka <vitalybuka@google.com>2017-10-15 05:35:02 +0000
commit7450398e01a385c765c754c48444e38920a20f6c (patch)
treee14e5f4f6de2501b7e9f0e1b51b5bb2e04f108a6 /llvm/unittests/DebugInfo/MSF
parent8b54a1c68609a41fc1042767a465604dbf54c8c1 (diff)
downloadbcm5719-llvm-7450398e01a385c765c754c48444e38920a20f6c.tar.gz
bcm5719-llvm-7450398e01a385c765c754c48444e38920a20f6c.zip
Remove unused variables
llvm-svn: 315847
Diffstat (limited to 'llvm/unittests/DebugInfo/MSF')
-rw-r--r--llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp b/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
index 94c4898551d..3a3937e3405 100644
--- a/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
+++ b/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
@@ -254,8 +254,6 @@ TEST(MappedBlockStreamTest, WriteBeyondEndOfStream) {
DiscontiguousStream F(BlocksAry, Data);
auto S = WritableMappedBlockStream::createStream(F.block_size(), F.layout(),
F, F.Allocator);
- ArrayRef<uint8_t> Buffer;
-
EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef<uint8_t>(LargeBuffer)), Failed());
EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef<uint8_t>(SmallBuffer)),
Succeeded());
OpenPOWER on IntegriCloud