linux: initialize crash_loop_before_time member

Change-Id: I8910d0700056232afb82afc4ef1463212053f7e2
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1782737
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Joshua Peraza 2019-09-03 09:05:50 -07:00 committed by Commit Bot
parent cd92fba233
commit e1e55e2246
2 changed files with 7 additions and 1 deletions

View File

@ -17,7 +17,12 @@
namespace crashpad {
ExceptionHandlerProtocol::ClientInformation::ClientInformation()
: exception_information_address(0), sanitization_information_address(0) {}
: exception_information_address(0),
sanitization_information_address(0)
#if defined(OS_LINUX)
, crash_loop_before_time(0)
#endif // OS_LINUX
{}
ExceptionHandlerProtocol::ClientToServerMessage::ClientToServerMessage()
: version(kVersion),

View File

@ -21,6 +21,7 @@
#include <sys/types.h>
#include "base/macros.h"
#include "build/build_config.h"
#include "util/file/file_io.h"
#include "util/misc/address_types.h"