Repository navigation
Commit 4a21e37
Remove unreachable break after LOG(FATAL) in LogOnce.cpp (#59520)
Summary:
Pull Request resolved: #59520
Clang reports `-Wunreachable-code-break` here: the `break` follows `LOG(FATAL)`, which never returns, so control can never reach the `break`. Removing it silences the warning and does not change behavior. It ends the last label of the switch, so it is redundant anyway.
Changelog: [Internal]
Reviewed By: dtolnay
Differential Revision: D1267096811 parent 44eb927 commit 4a21e37
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
0 commit comments