ios: Fix build of exception_handler_no_mach

Change-Id: I2a9f85e78f6d3189f018824ad98e39af30d2ecf8
Reviewed-on: https://chromium-review.googlesource.com/1129465
Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
Joshua Peraza 2018-07-09 10:39:41 -07:00
parent 5dc88243a6
commit c79e349bec

View file

@ -198,7 +198,7 @@ void ExceptionHandler::SignalHandler(int sig, siginfo_t* info, void* uc) {
bool ExceptionHandler::InstallHandlers() { bool ExceptionHandler::InstallHandlers() {
// If a handler is already installed, something is really wrong. // If a handler is already installed, something is really wrong.
if (gProtectedData.handler != NULL) { if (gProtectedData.handler != NULL)
return false; return false;
for (int i = 0; i < kNumHandledSignals; ++i) { for (int i = 0; i < kNumHandledSignals; ++i) {
struct sigaction sa; struct sigaction sa;