From ecefe3cd280eac51a59269b94b3d80b3e4f2bab8 Mon Sep 17 00:00:00 2001 From: Peter Kasting Date: Tue, 10 Aug 2021 07:59:47 -0700 Subject: [PATCH] Fix an instance of -Wunreachable-code-aggressive. Bug: chromium:1066980 Change-Id: I7efc356b5457c159c8775f51e3ab5732f51c3f18 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3085085 Reviewed-by: Mark Mentovai Commit-Queue: Mark Mentovai Commit-Queue: Peter Kasting --- client/crashpad_client_linux_test.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/crashpad_client_linux_test.cc b/client/crashpad_client_linux_test.cc index 1922651e..0153355f 100644 --- a/client/crashpad_client_linux_test.cc +++ b/client/crashpad_client_linux_test.cc @@ -201,12 +201,10 @@ void DoCrash(const StartHandlerForSelfTestOptions& options, case CrashType::kBuiltinTrap: __builtin_trap(); - break; case CrashType::kInfiniteRecursion: int val = 42; exit(RecurseInfinitely(&val)); - break; } }