Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69bd21f6 authored by James Hawkins's avatar James Hawkins
Browse files

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
parent ac06dcd2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;