[PATCH] D121861: [scudo] Remove unused vector value initializer
Dominic Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 16 14:17:49 PDT 2022
ddcc created this revision.
ddcc added reviewers: vitalybuka, eugenis, cryptoad, mcgrathr, hctim.
Herald added a project: All.
ddcc requested review of this revision.
Herald added a project: Sanitizers.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121861
Files:
compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Index: compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
===================================================================
--- compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+++ compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
@@ -643,7 +643,7 @@
SCUDO_TYPED_TEST(ScudoCombinedTest, DisableMemInit) {
auto *Allocator = this->Allocator.get();
- std::vector<void *> Ptrs(65536, nullptr);
+ std::vector<void *> Ptrs(65536);
Allocator->setOption(scudo::Option::ThreadDisableMemInit, 1);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121861.415986.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220316/2c51acf2/attachment.bin>
More information about the llvm-commits
mailing list