summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp')
-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