From a6b7f3189578e466a506793c971c860b057880d7 Mon Sep 17 00:00:00 2001 From: Dominic Chen Date: Wed, 16 Mar 2022 13:52:31 -0700 Subject: [PATCH] [scudo] Remove unused vector value initializer Differential Revision: https://reviews.llvm.org/D121861 --- compiler-rt/lib/scudo/standalone/tests/combined_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp index deccccf4f1f6..668dab79fb56 100644 --- a/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp +++ b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp @@ -643,7 +643,7 @@ SCUDO_TYPED_TEST(ScudoCombinedTest, OddEven) { SCUDO_TYPED_TEST(ScudoCombinedTest, DisableMemInit) { auto *Allocator = this->Allocator.get(); - std::vector Ptrs(65536, nullptr); + std::vector Ptrs(65536); Allocator->setOption(scudo::Option::ThreadDisableMemInit, 1);