mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
Remove a NOTREACHED() after a __builtin_trap()
__builtin_trap() is already noreturn, so no need to put a NOTREACHED() after it. No behavior change. Bug: chromium:393924694 Change-Id: Ib93b429d8ef7cfe8fb59c4b9e9b8afced06b2ac2 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/6298671 Commit-Queue: Nico Weber <thakis@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
85ecbd2a77
commit
db25cdc030
@ -24,7 +24,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "base/check_op.h"
|
#include "base/check_op.h"
|
||||||
#include "base/notreached.h"
|
|
||||||
#include "build/build_config.h"
|
#include "build/build_config.h"
|
||||||
#include "client/annotation.h"
|
#include "client/annotation.h"
|
||||||
#include "client/annotation_list.h"
|
#include "client/annotation_list.h"
|
||||||
@ -764,8 +763,6 @@ class StartHandlerForChildTest : public Multiprocess {
|
|||||||
CHECK(test_state_.InstallHandler());
|
CHECK(test_state_.InstallHandler());
|
||||||
|
|
||||||
__builtin_trap();
|
__builtin_trap();
|
||||||
|
|
||||||
NOTREACHED();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
StartHandlerForClientTest test_state_;
|
StartHandlerForClientTest test_state_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user