mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 23:01:05 +08:00
Remove should-be-dead code after PLOG(FATAL)
This will trigger dead-code warnings in chromium once LOG(FATAL) is understood as [[noreturn]], which needs to be fixed in crashpad first. Bug: 1409729 Change-Id: I75cb4d93e648ca9804f1299345e52bb3e2834cd9 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5193351 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Peter Boström <pbos@chromium.org>
This commit is contained in:
parent
30b2f4ba38
commit
5183bef5f3
@ -44,7 +44,6 @@ bool GetSwitch(const char* switch_name, std::string* value) {
|
|||||||
ScopedLocalAlloc scoped_args(args); // Take ownership.
|
ScopedLocalAlloc scoped_args(args); // Take ownership.
|
||||||
if (!args) {
|
if (!args) {
|
||||||
PLOG(FATAL) << "CommandLineToArgvW";
|
PLOG(FATAL) << "CommandLineToArgvW";
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string switch_name_with_equals(switch_name);
|
std::string switch_name_with_equals(switch_name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user