Initialize variables for MSAN

The variables in the CL are not initialized. Even if it's safe not to
initialize them here, MSAN doesn't know that.

Bug: 394028
Change-Id: I597a7d76aa19d5789decd0f85150fa31c9655269
Reviewed-on: https://chromium-review.googlesource.com/1001573
Reviewed-by: Lei Zhang <thestig@chromium.org>
This commit is contained in:
Sergey Abbakumov 2018-04-10 10:09:44 +07:00 committed by Lei Zhang
parent adcc90ddb8
commit c83fcf6470
2 changed files with 2 additions and 2 deletions

View file

@ -549,7 +549,7 @@ bool ExceptionHandler::GenerateDump(CrashContext *context) {
// Allow the child to ptrace us
sys_prctl(PR_SET_PTRACER, child, 0, 0, 0);
SendContinueSignalToChild();
int status;
int status = 0;
const int r = HANDLE_EINTR(sys_waitpid(child, &status, __WALL));
sys_close(fdes[1]);