mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
Remove nullptr initialization of std::string
The Fuchsia test file has a zero initialization of std::string which is causing build failures in Fuchsia with the latest Clang toolchain. Bug: chromium:401365559 Change-Id: I37dee7c87f6c90e53fccbd2f03241143e40a77cb Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/6331160 Commit-Queue: Roland McGrath <mcgrathr@chromium.org> Reviewed-by: Joshua Peraza <jperaza@chromium.org> Reviewed-by: Roland McGrath <mcgrathr@chromium.org> Commit-Queue: Prabhu Karthikeyan Rajasekaran <prabhukr@google.com>
This commit is contained in:
parent
e383fa1d04
commit
04b11f9964
@ -147,7 +147,7 @@ CRASHPAD_CHILD_TEST_MAIN(ProcessReaderChildThreadsTestMain) {
|
||||
EXPECT_EQ(status, ZX_OK);
|
||||
|
||||
constexpr size_t kNumThreads = 5;
|
||||
struct ThreadData thread_data[kNumThreads] = {{0, 0}};
|
||||
struct ThreadData thread_data[kNumThreads] = {{0, ""}};
|
||||
|
||||
for (size_t i = 0; i < kNumThreads; ++i) {
|
||||
thread_data[i] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user