crash_reporter: Fix a -Wmissing-field-initializers warning.
The fix is to use the C++ empty struct initialization {} instead of the C-style {0}. Bug: 27378717 Change-Id: I36896d1202bf30b5db5689ac13acaff3b3f1b30b
This commit is contained in:
parent
ac06dcd29f
commit
69bd21f695
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ TEST_F(CrashCollectorTest, Sanitize) {
|
|||
}
|
||||
|
||||
TEST_F(CrashCollectorTest, FormatDumpBasename) {
|
||||
struct tm tm = {0};
|
||||
struct tm tm = {};
|
||||
tm.tm_sec = 15;
|
||||
tm.tm_min = 50;
|
||||
tm.tm_hour = 13;
|
||||
|
|
Loading…
Reference in a new issue